F&A Diskussionen
About basic concept of String.
2 Stimmen
1 AntwortPhP variables
1 Stimme
3 AntwortenWhat's Wrong With My Code??
0 Stimmen
2 AntwortenI want a form the can...
1 Stimme
3 AntwortenSUBMIT, refresh page and JS
0 Stimmen
1 Antworthey 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 Stimme
8 AntwortenHow can I make a choose?
0 Stimmen
1 AntwortRadio type in HTML
0 Stimmen
1 AntwortFile Storing Different Datatypes
0 Stimmen
1 AntwortStyling Checkboxes???
0 Stimmen
1 AntwortЦикл while, с вводом и двумя if
0 Stimmen
1 AntwortPlease can you check these codes
0 Stimmen
4 AntwortenHelp mee
0 Stimmen
2 AntwortenWhy doesn't this code work?
0 Stimmen
3 AntwortenWhy not normal I/O
0 Stimmen
1 AntwortPlease help !
0 Stimmen
2 AntwortenContinuous problem
1 Stimme
1 Antworthow to output phrases?
1 Stimme
2 AntwortenHeute heiß
What is a web browser intension?
1 Votes
Mentors
1 Votes
Percobaan
0 Votes
Thread local : global vs local
0 Votes
Postgrrsql and python
0 Votes
Codding lern
0 Votes
python
0 Votes
Is there LUA?
0 Votes