0
Can someone help me make this work pls??. Thanks!
I would need an answer for all 3 integers.
9 Antworten
0
#include <iostream>
using namespace std;
int main()
{
int a = 0;
int b = 0;
int c;
while(a<3){
b = b+5;
a++;}
return 0;
}
0
lol of course
0
@caleb. well that was the question. to find the proper answer for a,b,c. and when I write cout for all of them I get some type of answer. I just want to know if someone knows a different way to get an answer . this is how I tried to solve it.
#include <iostream>
using namespace std;
int main()
{
int a = 0;
int b = 0;
int c;
while(i<3){
x = x+5;
i++;}
cout << a << endl;
cout << b << endl;
cout << c << endl;
return 0;
}
0
I'm just testing things. I had originally write them with i and x and i forgot to change them to abc . 2686816 is also what I get. so, that result would be correct? (I corrected the code)
0
thanks will do!