C PROGRAMMING EXERCISES
1) obtain the following output without using "\n" and "\t"(must fill colour's).
hint:USE GRAPHICS PROGRAMMING
OUTPUT:
< ================>
* WELCOME *
* 2 *
* CODERS HUNT *
< ================>
||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*........ultimate site for beginneers and programmers. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* WELCOME *
* 2 *
* CODERS HUNT *
< ================>
||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*........ultimate site for beginneers and programmers. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2)
Write a C program to read data from a file named INPUT containing numbers. Write all even numbers to file called EVEN and odd numbers to file called ODD. compute the square, cube of the even numbers and save them in files named SQEVEN, CUBEEVEN respectively. and square,cube of the odd numbers and save them in files named SQODD, CUBEODD respectively. your program should read one file INPUT and generate six files EVEN, ODD, SQEVEN, SQODD, CUBEEVEN, CUBEODD.