2. Write a program that lets the user guess the outcome of a die roll. The program randomly generates an integer from 1 to 6, which represents the value of the die. The program prompts the user to enter a guess and reports whether the guess is correct or incorrect.

tam olarak ne demek istiyor?


 

kullanıcının, bir zar atımının sonucunu tahmin etmesine imkan sağlayan bir program yazınız. program, 1 ile 6 arasındaki bir tamsayıyı rastgele üretir, ki bu tamsayı zarın değerini temsil eder. program, kullanıcıdan bir tahmin girmesini ister ve tahminin doğru mu, yoksa yanlış mı olduğunu rapor eder.

sanat guresi
1

mobil görünümden çık