Can anyone help me with this math problem? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Can anyone help me with this math problem?

You need to calculate the points earned by a soccer team. The team won 18 games and ended 7 games as a draw. A win brings 3 points, while a draw brings 1.

6th Jan 2022, 5:49 AM
Nikos Papadopoulos
21 Answers
+ 5
print(18*3 +7*1) is the answer
6th Jan 2022, 8:32 PM
hasansastark
+ 12
in Python, won = 18 draw = 7 winpoints = 3 drawpoints = 1 wontotal = won*winpoints drawtotal = draw*drawpoints ans = drawtotal+wontotal print(ans)
6th Jan 2022, 6:22 AM
Chigozie Anyaeji 🇳🇬
Chigozie Anyaeji 🇳🇬 - avatar
+ 8
in JavaScript, var won = 18; var draw = 7; var winpoints = 3; var drawpoints = 1; var wontotal = won*winpoints; var drawtotal = draw*drawpoints; var ans; ans = drawtotal+wontotal; console.log(ans)
6th Jan 2022, 6:14 AM
Chigozie Anyaeji 🇳🇬
Chigozie Anyaeji 🇳🇬 - avatar
+ 5
Nikos Papadopoulos you can't do it, it's possible you're having problem with the input system Solomoni Railoa gave. Well, it's better you just assign a number to the wins and draws. If you don't still understanding, then try understanding.
6th Jan 2022, 12:33 PM
Chigozie Anyaeji 🇳🇬
Chigozie Anyaeji 🇳🇬 - avatar
+ 2
We have already found the answer: print(18*3+7*1)
7th Jan 2022, 7:14 PM
Nikos Papadopoulos
+ 1
Still can't do it 😅
6th Jan 2022, 11:19 AM
Nikos Papadopoulos
+ 1
No prob😁😁
6th Jan 2022, 9:42 PM
hasansastark
+ 1
David Odedoyin not really because I tried it already and it was incorrect
7th Jan 2022, 7:39 PM
Nikos Papadopoulos
0
Python for beginners
6th Jan 2022, 6:15 AM
Nikos Papadopoulos
0
I downloaded another app for learning, no worries.i just don't understand why do I have to learn maths in a beginning lesson in a course nvm
6th Jan 2022, 12:41 PM
Nikos Papadopoulos
0
Huge thanks anyway
6th Jan 2022, 12:41 PM
Nikos Papadopoulos
0
hasansastark yep that was correct finally.. 😅 appreciate it
6th Jan 2022, 9:15 PM
Nikos Papadopoulos
0
Your function is something like this: total_point=3*n_game_won+1*n_game_draw n_game_won=18 n_game_draw=7
7th Jan 2022, 2:43 PM
Mattia Nardoni
0
61
7th Jan 2022, 7:13 PM
Gujariya____J_v.
0
Seems like my answer
7th Jan 2022, 7:32 PM
David Odedoyin
0
Wow,it was correct when I tried it
7th Jan 2022, 8:08 PM
David Odedoyin
0
What math
8th Jan 2022, 3:04 AM
chill pillows
chill pillows - avatar
0
It's very easy you are pro but steal you don't know... how dude.
8th Jan 2022, 5:25 AM
Harshit Joshi
- 1
In c++, #include<iostream> using namespace std; int main(){ int wonScore=3; int drawScore=1 int won=18; int draw=7; int wonPoints = wonScore*won; int draw Points = drawScore*draw; cout<<wonPoints + drawPoints; return 0; }
8th Jan 2022, 4:03 AM
Shailendra Kumar
Shailendra Kumar - avatar
- 1
In math, Won = 18, Draw = 7, By winning one match you get=3points By draw of one match we get = 1point So, By winning we get points = 18*3=54 By get a draw we get points = 7*1=7 Total points=54 + 7 = 61 Ans-> 61 points are earned by a soccer team
8th Jan 2022, 4:11 AM
Shailendra Kumar
Shailendra Kumar - avatar