Questions


September 2022 1 0 Report
Programming

Write a program that will print the results of the four
operations enumerated below:
➢ -1 + 4 * 6
➢ ( 35+ 5 ) % 7
➢ 14 + -4 * 6 / 11
➢ 2 + 15 / 6 * 1 - 7 % 2
Then, assign the resulting numbers for each of the
operations to corresponding int variables, add them
together, and use the decrement operator once to make
it so that the result displays “42”.

Answers & Comments


Add an Answer


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 EHUB.TIPS team's - All rights reserved.