English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

3 answers

Yeah, right...I'm gonna code a little program for you for a measly ten points?

Here it is in gebobcode:

For K = 1 -> 10
...Read From Keyboard -> J
...Validate If 0 <= J <= 100
......No: Zap User
...EndIf
...Validate If J > 50
......Yes: Increment L
...EndIf
Continue

SexyVoice69: "You have entered " & L & " numbers greater than 50."

End Program

2007-01-07 21:25:35 · answer #1 · answered by gebobs 6 · 0 0

1

2016-12-24 20:37:46 · answer #2 · answered by ? 3 · 0 0

#include
#include
void main()
{
int i,number,a=0 ;
cin>>"enter 10 numbers" ;
for ( i=0 ; i < 10 ; ++i)
{
cin>> number ;
if ( number > 50)
a=a+1;
end if
}
cout<<"you have entered"< }

2007-01-07 23:06:55 · answer #3 · answered by salin s 2 · 0 0

fedest.com, questions and answers