Обсуждения
About basic concept of String.
2 голосов
1 ответPhP variables
1 голос
3 ответовWhat's Wrong With My Code??
0 голосов
2 ответовI want a form the can...
1 голос
3 ответовSUBMIT, refresh page and JS
0 голосов
1 ответCan I write a code as input:hover{…}?
0 голосов
1 ответhey 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 голос
8 ответовHow can I make a choose?
0 голосов
1 ответIssue while running code in sololearn
0 голосов
1 ответRadio type in HTML
0 голосов
1 ответFile Storing Different Datatypes
0 голосов
1 ответStyling Checkboxes???
0 голосов
1 ответЦикл while, с вводом и двумя if
0 голосов
1 ответPlease can you check these codes
0 голосов
4 ответовWhy doesn't this code work?
0 голосов
3 ответовWhy not normal I/O
0 голосов
1 ответPlease help !
0 голосов
2 ответовContinuous problem
1 голос
1 ответhow to output phrases?
1 голос
2 ответовАктуальное сегодня
Best Python Calculator Code
1 Votes
New code
1 Votes
Clean Code
3 Votes
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Hello Everyone
0 Votes