How can draw a box in cprogram without using graphics.h
header file & using only one printf(); ?
Answer Posted / veeramalliga
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("\n----------------\n");
printf("\n| |\n");
printf("\n| |\n");
printf("\n-----------------\n");
getch();
}
| Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
Why #include is used in c language?
What are different storage class specifiers in c?
What are directives in c?
What are the types of operators in c?
What is queue in c?
Can the “if” function be used in comparing strings?
What are header files and what are its uses in C programming?
largest Of three Number using without if condition?
what is the basis for selection of arrays or pointers as data structure in a program
Write a program to find the biggest number of three numbers in c?
write a program for the normal snake games find in most of the mobiles.
What is a class c rental property?
How can I run c program?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
What is conio h in c?