separate each number from a big number
#include<stdio.h>
main()
{
int n,k;
scanf("%d",&n);
for(;n!=0;n=n/10)
{
k=n%10;
printf("%d\n",k);
}
}
Sorting Using function (Cpp) #include<iostream>#include<algorithm>using namespace std;int main(){ int arr[]={2,4,6,9,3,5,70}; ...
count character , small letter,capital letter, double letter, Vowel in a sentence #include<stdio.h>int main (){ char c,ql; ...
Series=40-38+36-........n //Series=40-38+36-........n #include<stdio.h>int main(){ int n,sum,increase,term; scanf("%d...
show capital letters in small & small in capital #include<stdio.h>int main(){ char a[100]; int i,c=0; scanf("%s",a)...
<?php // Start the session session_start(); ?> <!DOCTYPE html> <html> <head> <link rel=...
No comments:
Post a Comment