You need to be more specific in what you are asking. For example, the following meets your requirements:
int main()
{
printf("a a b a b c\n");
return 0;
}
//to generate Fibonacci series upto a range of 200....(in C).... #include<stdio.h> main() { int a,b,c,i; a=0; b=1; printf("\n FIBONACCI SERIES .....\t"); i=1; while(i<=(200-2)) { c=a+b; printf("\t%d",c); a=b; b=c; i++; } }
#include <stdio.h> int main (void) { puts ("a a b a b c"); return 0; }
#include #include void main() { clrscr() int a=0,b=1,c,i,n; coutn cout
i dn't know. haha
#include<iostream.h> void main() { cout<<' '<<' '<<"a"<<'\n'; cout<<' '<<"a"<<"b"<<"a"<<'\n'; cout<<'a'<<'b'<<'c'<<'b'<<'a'<<"\n"; }
class Fibonacci { public static void main(String args[]) { System.out.println("enter the number upto u want"); int number=Integer.parseInt(args[0]); int a=0,b=1,c=0; System.out.print(a+" "+b); for(int i=1;i<=number;i++) { c=a+b; System.out.print(c+" "); a=b; b=c; } } } the number are given to the run time where are print the series eg: 5 0 1 1 2 3 5 8 13................
write a c program to accept a number and generate a square root cube and exponential values
find the program in c-pgms.blogspot.com
largest of a, b, c :a > b ? a > c ? a : c : b > c ? b : c
a XOR b is a^b in C language
C b a c d c b g a b b c
c code for top down parser