Discussions Q&R
Who wants Lua script?
3 Votes
2 Réponseshelp
1 Vote
4 Réponseshey guys, I've been trying to work out the formula 'v=I*r'. But whenever I run the program and input values for I and r, it doesn't give the right answer.
This is the code
#include <iostream>
using namespace std;
int main() {
int i,r;
int v = i*r;
cout<<"what is the value of i?\n";
cin>>i;
cout<<"what is the value of r?\n";
cin>>r;
cout<<"voltage ="<<v<<endl;
return 0;
}
p/s: I'm new to programming
1 Vote
8 RéponsesAI or web ?
1 Vote
1 Réponsei need help
1 Vote
3 RéponsesPlease help me
0 Vote
1 RéponseHello
-2 Votes
2 RéponsesBest kick start
0 Vote
1 RéponseAujourd'hui en vedette
Where is all of the lecon?
1 Votes
Is there any free coding app?
1 Votes
Not getting Badge issue
1 Votes
Slicing in py
0 Votes
Notes app bug
1 Votes
Cube Roots
1 Votes
BASIC
0 Votes
Association rule mining
1 Votes