Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtisQ&A DiscussƵes
Who wants Lua script?
3 Votos
2 Respostashelp
1 Voto
4 Respostashey 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 Voto
8 RespostasAI or web ?
1 Voto
1 RespostaPathway
1 Voto
1 Respostai need help
1 Voto
3 RespostasPlease help me
0 Voto
1 RespostaHello
-2 Votos
2 RespostasBest kick start
0 Voto
1 RespostaGuidance
2 Votos
1 RespostaHello guys right now I am kinda of new in python
my question is related to the function call len()
len() its print out the character but here it's the confusing part, I am working with a list let me explain an example
players
['lee', 'bob', 'moe', 'joe']
len(players)
4
why it's giving me 4 item in the list I thought len it counts the characters and if I do this it give me the correct somewhat answer what I am seeking,
len(players [-1])
3
0 Voto
8 RespostasSo I'm trying to add a picture to my website atm and I'm new to this so I got this app. The image is a .pgn and even if I say <img src="thename.png" /> it doesn't work on the site. I've updated it from Filezilla obviously but it just shows a little jpg logo and doesn't display my pic. What am I doing wrong?
0 Voto
5 RespostasI'm not able to create the new path, I put in the variable path and value c: program files/java/jdk1.80_101 which is what this file is named and it still doesn't work on the command prompt, everytime I put in Javac I get Javac is not recognizable as an internal or external command, operable program or botch file. please help
0 Voto
4 RespostasWhen Bongi's new baby, Sipho, was born,she opened a savings account woth R1000.00. On each daybitthday,starting with the first,the bank added 4.5% of the balnce and Bongi added another R500.00 to the account.Write a loop that will calculate how much money was in the account on Sipho's 18th birthday?
0 Voto
2 RespostasHow to learn vue.js?
0 Voto
1 RespostaQuente hoje
3 consecutive words
1 Votes
Access deny problem
2 Votes
c++ help
0 Votes
BOTSS
0 Votes
A small question
0 Votes
Help
0 Votes
What's wrong with my code?
0 Votes