In main() function , two loops has been used , one for the Row (i loop) and one for the coloum(j loop).
In J loop , while loop is used with a condition not a prime number(!prime(number)) where prime() is a user Defined function which checks whether the number is Prime or not. If the condition is satisfied the number is increased by 1 //end of while loop. After it the prime number is printed and the number is again increased by 1 in the printf()function .
For any more help , feel free to ask your queries.
bro plse help me in my assignment plzzzzzzzzz Q1. write a program to convert Fahrenheit to celius temp at 10 degree intervals from 30 degree to 200 degree; where C=5/9(F-32) a)by using for loop b)by usng while loop Q2) write a program that reads 10 positive integers in the range 1 through 500 and then determines the largest even number....
Having read this I thought it was extremely enlightening.
I appreciate you finding the time and energy to put this informative article together. I once again find myself spending way too much time both reading and leaving comments.
can u tell me the program of quick sort in c??
ReplyDelete@aaina : program has been uploaded http://c-programcodes.blogspot.in/2013/01/q_19.html
ReplyDeletesir, will u provide me a program of mid point circle in c++...
ReplyDeleteHi...Can you please explain me logic and code of pyramid of prime numbers.
ReplyDeleteThankx in Advance
Priyanka
@Priyanka Patel:
ReplyDeleteIn main() function , two loops has been used , one for the Row (i loop) and one for the coloum(j loop).
In J loop , while loop is used with a condition not a prime number(!prime(number)) where prime() is a user Defined function which checks whether the number is Prime or not. If the condition is satisfied the number is increased by 1 //end of while loop. After it the prime number is printed and the number is again increased by 1 in the printf()function .
For any more help , feel free to ask your queries.
Thankx.
@priyanka : Refer to this program-http://c-programcodes.blogspot.in/2013/04/print-prime-number-pyramid.html
ReplyDeletebro plse help me in my assignment plzzzzzzzzz
ReplyDeleteQ1. write a program to convert Fahrenheit to celius temp at 10 degree intervals from 30 degree to 200 degree; where C=5/9(F-32)
a)by using for loop
b)by usng while loop
Q2) write a program that reads 10 positive integers in the range 1 through 500 and then determines the largest even number....
could you please help me with the Program for lower triangle of matrix.
ReplyDeleteAgger
Follow the link
Deletehttp://c-programcodes.blogspot.com/2014/01/lower-triangular-matrix.html
Having read this I thought it was extremely enlightening.
ReplyDeleteI appreciate you finding the time and energy to put this informative
article together. I once again find myself spending way too much time both reading and leaving comments.
But so what, it was still worth it!
Also visit my web site: Beats By Dre
Thanks for reviewing it . :)
ReplyDeletecan i know the codes for Binary to Octal in c++ ? please. T_____T
ReplyDeleteReally approved you efforts Himanshu! Very informative yet explained easily. :)
ReplyDeleteAppreciated*
DeleteCan you tell me the program for quick sort in C++?
ReplyDelete