Pseudocode
Pseudocode
friends i have to study Pseudocode systems and about it ........
please hurry..i have only 2days for my studies..can any one teach me the basics...
BASICS only.....
but I am really hurry..
please hurry..i have only 2days for my studies..can any one teach me the basics...
BASICS only.....
but I am really hurry..
Last edited by Neo on Wed Mar 17, 2010 8:26 pm, edited 1 time in total.
Reason: Pseudocode
Reason: Pseudocode
Re: PSEUDO CORDS
i am really hurry ..it is for my studies..i refer some webs but it is really hard to understand and there are no basics in simple language.
i wont get the idea in simple language....correctly..........
OKEY..
i wont get the idea in simple language....correctly..........
OKEY..
Re: PSEUDO CORDS
i got some ideas about COntroling structure..
>If..
>case..
>while..
>For..
but dont get any clear knowdge..
help me to get a clear picture
>If..
>case..
>while..
>For..
but dont get any clear knowdge..
help me to get a clear picture
Re: PSEUDO CORDS
these are the some examples i got..i have answers but no explanations..
can any one help me out...
urgent
Q1).Write the pseudo cord for a program me to input 100 numbers & to out put number of positive values,number of negative values & number of Zeros.??
Aswr:-
Begin
Z=0
P=0
N=0
For C=1 to 100
Input X
If X=0 Then
Z=Z+1
Else
If X>0 Then
P=P+1
Else
N=N+1
Endif
Endif
Endfor
print Zeros "Z"
print Positives"P"
print negatives"N"
End
can you explain it for me...?
can any one help me out...
urgent
Q1).Write the pseudo cord for a program me to input 100 numbers & to out put number of positive values,number of negative values & number of Zeros.??
Aswr:-
Begin
Z=0
P=0
N=0
For C=1 to 100
Input X
If X=0 Then
Z=Z+1
Else
If X>0 Then
P=P+1
Else
N=N+1
Endif
Endif
Endfor
print Zeros "Z"
print Positives"P"
print negatives"N"
End
can you explain it for me...?
Re: PSEUDO CORDS
Write the pseudo cord for a program & print FACTORIAL value of a given positive Integer ,where factorial value..
Begin
F=1
C=1
input N
While C<=N
F=F*C
C=C+1
End while
Print Factorial value
Can you please Explain these Questions....
Begin
F=1
C=1
input N
While C<=N
F=F*C
C=C+1
End while
Print Factorial value
Can you please Explain these Questions....
Re: PSEUDO CORDS
Write the pseudo cord for a program to input the marks for the get the highest mark maximum & minimum & avarage in a class?
begin
input M
max=-1
Min=101
avg=0
Count=0
while M<>-1 then
if M>max then
Max=M
End if
If M<min then
M=Min
End if
Sum=Sum+M
Input M
C=C+1
End while
Print Min
print Max
Avg=Sum/C
print Avg
End
begin
input M
max=-1
Min=101
avg=0
Count=0
while M<>-1 then
if M>max then
Max=M
End if
If M<min then
M=Min
End if
Sum=Sum+M
Input M
C=C+1
End while
Print Min
print Max
Avg=Sum/C
print Avg
End
Re: Pseudocode
See also Pseudo code Standard
Re: Pseudocode
Yes, really easy to learn with this example. You have used Pseudocode and follow the standard. It is work perfectly so basic understanding about Pseudocode might be easy with this.
Re: Pseudocode
which one friend?Yes, really easy to learn with this example. You have used Pseudocode and follow the standard. It is work perfectly so basic understanding about Pseudocode might be easy with this.
there are soo many examples....