0
I need a quick help pls
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sololearn { class Program { static void Main(string[] args) { int friend = Convert.ToInt32(Console.ReadLine()); friend *= 9; Console.Write(friend); } } } It's the candle challenge
7 Answers
+ 2
Read the task carefully. Each friend needs 9 candles, plus you also need an extra 9 for yourself.
+ 1
I already got it, I forgot to delete the question
+ 1
Try a for loop that executes 3 times.
0
I don't get it how it could work
0
Btw I got another question
0
Idk how to do it: as an example if you type as integer 3 a word gets repeated 3 times, how to code that
0
I forgot how to do loop + I got no hearts left so I can't enter any lessons