Qualification > Miscellaneous
Computer studies help HERE only !!
Ghost Of Highbury:
i hope u understood now...
the logic is simple
int the end u get to know the no. of cds, dvds, books and videos
cactus_360:
--- Quote from: eddie_adi619 on May 24, 2009, 07:36:01 am ---hey rekomeko heres your answer
#include<stdio.h>
#include<conio.h>
void main()
{
int c,d,v,b,x;
clrscr();
c=0;
d=0;
v=0;
b=0;
count=0;
for(count=0; count<=5000; ++count)
{
scanf("%d",&x);
if
{
10000<=x<20000; c=c+1
else if, 20000<=x<30000; d=d+1
else if, 30000<=x<40000; v=v+1
else if, 40000<=x<50000; b=b+1
}
count = count +1
}
print c,d,v,b,x,count'
getch();
}
--- End quote ---
wat da hell is this!!!!!!!!
do u rite algo like this cuz this is in no way a pseudo code
Ghost Of Highbury:
welcome..rekomeko....but don't paste this in turbo c+++..
its not totally a coding...
its logic + coding..
@creature_x--- i guess your right..maybe i'm confused...but thats how u learn..
thanks...any idea which past paper it was??
astarmathsandchemistry:
--- Quote from: cactus_360 on May 24, 2009, 07:40:14 am ---
--- Quote from: eddie_adi619 on May 24, 2009, 07:36:01 am ---hey rekomeko heres your answer
#include<stdio.h>
#include<conio.h>
void main()
{
int c,d,v,b,x;
clrscr();
c=0;
d=0;
v=0;
b=0;
count=0;
for(count=0; count<=5000; ++count)
{
scanf("%d",&x);
if
{
10000<=x<20000; c=c+1
else if, 20000<=x<30000; d=d+1
else if, 30000<=x<40000; v=v+1
else if, 40000<=x<50000; b=b+1
}
count = count +1
}
print c,d,v,b,x,count'
getch();
}
--- End quote ---
wat da hell is this!!!!!!!!
do u rite algo like this cuz this is in no way a pseudo code
--- End quote ---
dude really WHAT THE HELL IS THIS, it was J07 last question
thats very confusing and totally not an puesdocode
Ghost Of Highbury:
this is wat rekomeko asked for..
the algo. question always says..
"Write an algorithm, using pseudocode or otherwise, ..."
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version