- 1
Generating random numbers and more plz
1) Generate 10,000 random integer numbers in range [10,100]. 2) Count those numbers who’s digit at 10’s position is greater than digit at 1’s position. 3)  Count those numbers who’s digit at 10’s position is less than digit at 1’s position. 4) Display those numbers whose digit at 10’s position is the same as 1’s position. Display 5 such numbers per line. 5) Display count results from 1) and 2) 6) Calculate and display the ratio of the first count the second account and percentage format. Around this race your number to keep two positions after the decimal point. For example if the first count is 50, and second count is 30, the ratio will be 166.67% 
4 Respuestas
+ 3
Is this for somthing your studying?
0
I really lost please help, i am a new student and its so hard to learn online so please help me
0
okay sorry