Q&A Discussies
I can’t seem to get this right..
0 Stemmen
1 AntwoordIs it possible?
1 Stem
3 AntwoordenTic-Tac-Toe Java Two Players
0 Stemmen
1 AntwoordAbout basic concept of String.
2 Stemmen
1 AntwoordPhP variables
1 Stem
3 AntwoordenWhat's Wrong With My Code??
0 Stemmen
2 AntwoordenSUBMIT, refresh page and JS
0 Stemmen
1 Antwoordhey 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 Stem
8 AntwoordenHow can I make a choose?
0 Stemmen
1 AntwoordRadio type in HTML
0 Stemmen
1 AntwoordFile Storing Different Datatypes
0 Stemmen
1 AntwoordStyling Checkboxes???
0 Stemmen
1 AntwoordЦикл while, с вводом и двумя if
0 Stemmen
1 AntwoordPlease can you check these codes
0 Stemmen
4 AntwoordenHelp mee
0 Stemmen
2 AntwoordenWhy doesn't this code work?
0 Stemmen
3 AntwoordenPopulair vandaag
Decorators in python.
2 Votes
Coding for Cybersecurity
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
Please click me
0 Votes
Salut tout le monde
1 Votes
How can i isntall modules
1 Votes
Unity's loading time?
4 Votes