Обсуждения
problem with asterisk
1 голос
1 ответHaha I'm getting better
0 голосов
2 ответовWhat is Wrong with my code?
1 голос
1 ответAbout the head part of html
1 голос
1 ответAddition of game development course
3 голосов
1 ответWho wants Lua script?
3 голосов
2 ответовAdvice for an absolute beginner?
0 голосов
1 ответWhen to apply for your first job
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 ответовAI or web ?
1 голос
1 ответPython Course Progression
0 голосов
2 ответовi need help
1 голос
3 ответовPlease help me
0 голосов
1 ответWhat exactly is Java Script?
0 голосов
2 ответовАктуальное сегодня
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Kernel in Jupyter
2 Votes
SQL
2 Votes
JAVA PROGRAMMING
1 Votes