Question 10: write a program uses for loop that print all 20 numbers with plus signs between them and a blank on either side, that is, 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20+
1
Expert's answer
2021-07-19T02:45:22-0400
#include <iostream>
using namespace std;
int main()
{
for(int i=1; i<=20; i++)
cout<<i<<" + ";
return 0;
}
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