Convert this pseudocode to java:
READ "Did it rain today?"
IF answer is yes THEN
READ a...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 10.11.2020 04:40 nanda22
Convert this pseudocode to java:
READ "Did it rain today?"
IF answer is yes THEN
READ a random value between 0 and 1
IF the random value is less than or equal to 0.45 THEN
No change! It is a wet day
ELSE
Change! It is a dry day
ENDIF
ELSE
READ a random value between 0 and 1
IF the random value is less than or equal 0.12 THEN
Change! It is a wet day
ELSE
No change! It is a dry day
ENDIF
ENDIF
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 17:00
Aman travel 200m towards east< br /> from his house then takes left< br /> to turn and moves 200 m north< br /> find the displacement & distance.< br />
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 22:30
The a great imaginary circle, or reference line, around earth that is equally distant from the two poles and divides earth into the northern and southern hemispheres.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 08:30
Which of the following terms is described as “the art and design of using text”? a. typography b. elements of design c. typos d. graphic design
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 11:00
When you are looking for information on wikipedia
Answers: 2
You know the right answer?
Questions
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 11.11.2020 17:50
![question](/tpl/images/cats/health.png)
Health, 11.11.2020 17:50
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 11.11.2020 17:50
![question](/tpl/images/cats/mat.png)
Mathematics, 11.11.2020 17:50
![question](/tpl/images/cats/fizika.png)
Physics, 11.11.2020 17:50
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 11.11.2020 17:50
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 11.11.2020 17:50
![question](/tpl/images/cats/obshestvoznanie.png)