I have a few questions:
1) Write a for loop that will print: 10 20 30 40 50 60 70 80 90 100
2)Write a while loop that will print an "A+" each time it loops. It should print a total of 20 "A+"'s.
3)Use for or while loops to produce the following output:
&&&&&
&&&&&
&&&&&
&&&&&
&&&&&
&&&&&
&&&&&
&&&&&
Thanks!!
#include "iostream"
using namespace std;
void main(){
for (int i=10; i<=100; i+=10) cout<<i<<" ";
cout<<"\n";
for (i=1; i<=20; i++) cout<<"A+";
cout<<"\n";
}