Hi every one
same old problem but statment changed.
here is the code i used
#include<stdio.h> ...
Type: Posts; User: Asad_Rehman
Hi every one
same old problem but statment changed.
here is the code i used
#include<stdio.h> ...
Hi all here is code below i did to find a prime number as far as i m concerned it works fine .
#include<stdio.h>
#include<conio.h>
main()
{
int a=1;
int b;
{
("%.2f", variable) ;
}
as far as i knw abt this if the statement is like as follows
printf ("%.2f", variable) ;
#include<stdio.h>
#include<conio.h>
int main()
{
int a;
int b = 10;
int rem,c;
clrscr();
printf("\n Enter a five digit number: ");
thanks :D
hmm thankx let me try
edit: where should i do i m completely feeling confused:S
#include<stdio.h>
#include<conio.h>
int main()
{
int a = 98;
int b = 10;
int rem;
int c;
clrscr();
rem = a % b;
how shud i separate the digit and with which digit i shud use for "%"
failed....:confused:
Hi all
anyone can give me any idea that how to do this using on single selection of if statment
"Write a program that inputs one five-digit number,separates the number into its individual digits...