Create a notepad file named number.txt which consists of int type numbers separated with new lines on your hard disk. Write a program which read the numbers form this file and show them to screen, also display the total numbers in files and largest and smallest numbers to the screen.
problem here
Collapse
X
-
Tags: None
-
Hi,
Basiaclly u ant to write a code to read the info from file using fgets and then sscanf to read the number and print it using printf.
Have u tried anything on this?
Tell us where r u stuck.?
Raghuram -
It's because they've left the work too long. Then they think that we'll just give them the code and they won't have to worry about it.Originally posted by ahammadI love how they copy and paste the assignment/homework question as is...Comment
-
Agreed.Originally posted by Silent1MezzoIt's because they've left the work too long. Then they think that we'll just give them the code and they won't have to worry about it.
I guess that they must first feel it on their own skin.
That way they will learn a good lesson
SavageComment
-
Especially the demanding tense of the verbs in it: "do this, do that". It especiallyOriginally posted by ahammadI love how they copy and paste the assignment/homework question as is...
doesn't make sense for the third person folks reading this here in this forum.
The only reaction it brings up for me is: "do it yourself and be a bit more polite
next time you show up here" ;-)
kind regards,
JosComment
-
We should slap them around like they are doing to us.
............... .__.(__)..__
............... (__)l.....l(__)
............... l.=.ll..=.ll.=. l.__
............... l....ll.....ll. ...l(__)
............... l.=.ll=.=ll.=.l l.=.l
............... .l....ll.....ll ....ll....l
.....__......l. =.ll=.=ll.=.ll. =.l
....l]...\.....l..... ............ll. =.l
......l.....\.. ..l............ .........l
......(.....(_/............... ........l
......(........ ............... ..........l
......(........ ............... ..........l
........ ............... .............../
............ _.............. ........./
............... l.............. .......l
SLAP! SLAP!
:D
(Got that from Facebook.)
Just a little courtesy is all we ask.
AdrianComment
-
Originally posted by AdrianHWe should slap them around like they are doing to us.
............... .__.(__)..__
............... (__)l.....l(__)
............... l.=.ll..=.ll.=. l.__
............... l....ll.....ll. ...l(__)
............... l.=.ll=.=ll.=.l l.=.l
............... .l....ll.....ll ....ll....l
.....__......l. =.ll=.=ll.=.ll. =.l
....l]...\.....l..... ............ll. =.l
......l.....\.. ..l............ .........l
......(.....(_/............... ........l
......(........ ............... ..........l
......(........ ............... ..........l
........ ............... .............../
............ _.............. ........./
............... l.............. .......l
SLAP! SLAP!
:D
(Got that from Facebook.)
Just a little courtesy is all we ask.
Adrian
LOL
SavageComment
-
Reminds me of the movie "The Master of Disguise" with Dana Carvey.Originally posted by AdrianHWe should slap them around like they are doing to us.
............... .__.(__)..__
............... (__)l.....l(__)
............... l.=.ll..=.ll.=. l.__
............... l....ll.....ll. ...l(__)
............... l.=.ll=.=ll.=.l l.=.l
............... .l....ll.....ll ....ll....l
.....__......l. =.ll=.=ll.=.ll. =.l
....l]...\.....l..... ............ll. =.l
......l.....\.. ..l............ .........l
......(.....(_/............... ........l
......(........ ............... ..........l
......(........ ............... ..........l
........ ............... .............../
............ _.............. ........./
............... l.............. .......l
SLAP! SLAP!
:D
(Got that from Facebook.)
Just a little courtesy is all we ask.
AdrianComment
-
Ya, its a fairly dumb movie....I wish I didn't know it :POriginally posted by AdrianHHmm, gotta go look that one up at imdb.
AdrianComment
Comment