tag:blogger.com,1999:blog-5869664572653877866.post3588653732548367932..comments2024-01-08T20:13:22.606-08:00Comments on C++ | cplusplus | cplusplus-in.blogspot.com: how to find the prime number using c++(with simple coding)Zafar Bukharihttp://www.blogger.com/profile/10390766951359461744noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-5869664572653877866.post-30676837888360646872014-03-25T09:20:47.032-07:002014-03-25T09:20:47.032-07:00There is some problem in your source code like The...There is some problem in your source code like There is some number which isnot divided by 2 3 or 5. Like 49 it can be divided by 7 not in 2 3 or 5. I guess it will be the bug of your programNadimhttps://www.blogger.com/profile/07127873005607176900noreply@blogger.comtag:blogger.com,1999:blog-5869664572653877866.post-88519578474418030172013-07-10T11:09:05.377-07:002013-07-10T11:09:05.377-07:00getch() is a function to get a character from the ...getch() is a function to get a character from the user.<br />i use this at the end to halt the program.<br />if you have a parameter or argument in parentheses of getch() like; getch(c). Then input character will be stored in "c".<br />you can also use system("pause") instead of getch() to halt the program.<br />----------------------------------------------------------------------------------------------------------<br />i am not sign in now therefore i comment as a anonymous.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5869664572653877866.post-31490673140509666672013-03-06T13:05:01.617-08:002013-03-06T13:05:01.617-08:00What is getch()??What is getch()??Anonymousnoreply@blogger.com