Help..tolong ajarin saya dong tentang coding, karena pemula | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help..tolong ajarin saya dong tentang coding, karena pemula

18th Jan 2018, 4:22 AM
rhiea hagy
2 Answers
+ 9
Selamat datang, pemula. Bisa coba periksa link ini untuk pilih bahasa coding: www.sololearn.com/faq Lepas pilih, baca tutorial yg ada, e.g. https://www.sololearn.com/Course/CPlusPlus/?ref=app Kalau ada pertanyaan, bisa tanya di sini. Selamat belajar.
18th Jan 2018, 5:22 AM
Hatsy Rei
Hatsy Rei - avatar
- 1
You are making a program for a bus service. A bus can transport 50 passengers at once. Given the number of passengers waiting in the bus station as input, you need to calculate and output how many empty seats the last bus will have. Sample Input: 126 Sample Output: 24 Explanation: The first bus will transport 50 passengers, leaving 126-50=76 in the station. The next one will leave 26 in the station, thus, the last bus will take all of the 26 passengers, having 50-26=24 seats left empty.
12th Jun 2021, 4:09 PM
MUHAMMAD RIAN SUPIADI
MUHAMMAD RIAN SUPIADI - avatar