Problem Description
Sneha got a single integer as an input , and her task to perform all assignment operations in with the given input . Let us help her to solve with the following conditions met,
To Perform ,
Assign an input the new the variable and display
Using addition assignment operation(c+=3;c=c+3)
Using Subtraction assignment operation
Using division assignment operation
Using modulus assignment operation
Input and Output Format:
Refer sample input and output for formatting specification.
All float values are displayed correct to 2 decimal places.
All text in bold corresponds to input and the rest corresponds to output.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.