Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урокОбсуждения
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 ответовBest kick start
0 голосов
1 ответHello 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 голосов
8 ответовSo 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 голосов
5 ответовHow do i create an app?
0 голосов
3 ответовI'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 голосов
4 ответовWhen 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 голосов
2 ответовАктуальное сегодня
What's wrong with my code?
1 Votes
Py to Exe
0 Votes
How to find image links
0 Votes
I don’t know why but python seems to be harder than java to me does any body else fell like this?
0 Votes
How I can win more Heart?
0 Votes
Reporting error - HOW?
0 Votes
Notifications
3 Votes
TIMER
1 Votes