Write a C++ program that uses while loop to prompt the user to enter 10 integers and the program will calculate the total for all numbers that are smaller than 20. Display the total.
Question 5
1
Expert's answer
2013-01-29T11:16:20-0500
#include <iostream>
using namespace std;
int main() { cout << "enter 10 numbers" << endl; int k[10]; for(int i=1;i<=10;i++) { & cin>>k[i];
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment