Question: C++ Write a program containing a for loop which prints the integers from 100 down to 0 by ten that is, the first three lines

C++
 C++ Write a program containing a for loop which prints the

Write a program containing a for loop which prints the integers from 100 down to 0 by ten that is, the first three lines should be 100, 90, 80... Write a program that will find and print the first integer which is greater than 1000, and is divisible by 7. Write a program to extract the fractional part of a number input by the user, using the function: fractional part =number -floor(number). For example, if the user inputs 3.5, then the outputs the fractional part 3.5-floor(3.5)=3.5-3=0.5; and if the user inputs 7.1, then the program out the fractional part 7.1-fbor(7.1)=7.1 -7=0.1. Write a program to perform rounding on a floating point number input by the user, the fractional part of the number. For example, if the user inputs 2.5, then the number to be output the user inputs 7.7, then the output is 8; if the user inputs 11.4, then the output is 11. Draft a report for each of the questions after you complete the coding, including the problem description, source codes, discussion with the program output captured in screen shots, and conclusions about the lab Please upload the lab reports to ePortfolio

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!