print -n to n
//print -n to n
#include<stdio.h>
int main()
{
int n,m;
scanf("%d",&n);
m=n*-1;
while(m<=n){
printf("%d\t",m);
m++;
}
printf("\n");
return 0;
}
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