You can do this by creating three functino like
input /* having input information
menu items
/* Addition, Multiply, Divide, Subtract and so on.
and the last one is
switchcases
/* having...
Type: Posts; User: kumar14878
You can do this by creating three functino like
input /* having input information
menu items
/* Addition, Multiply, Divide, Subtract and so on.
and the last one is
switchcases
/* having...
Hi
I am using Turbo C. I am making a programme for GK, but i need some rectangle to present the questions, answers and options respectively.
please help to complete the task.
Thanx
Hi daisy_polly,
Your most welcome.
To display all the enteries entered by you, you need to store all the records in a seperate data file, for that u need to use file stream and then you can only...
Hi I just want to make a Rectangle in C using graphics instead of doing like this:
void box_ma()
{
int c=60,r=1;
gotoxy(60,1);
printf("%c",218); // ASCII Code of ("Ú") is 218
...
You can handle these type of problems with switch and case commands, it is always easy to handle the optional programmes using switch and case statements.
switch(input)
{
case <option>:...
You can this programme as under:
#include <stdio.h>
#include <conio.h>
void main()
{
char name[10];
Is it possible to put thousand seperators for numebrs like:
1,00,000.00
I am declaring array as under
float stage_a[]={1000,2000,3000,5000,10000,
20000,40000,80000,160000,320000,...
Thanx all I have got ur points and implemented ur techniques. Now I have got the appropriate answer too.
Thanx again to all.
Hi! All
Here I am trying to write a programme, which will accept a line of text and count the vowels, consonants, digits, whitespaces & others like (.,;,).
The code i am using is :
...
Hi All!
I am getting a problem in using scanf for yes/no condition
#include <stdio.h>
#include <conio.h>
#include <ctype.h>
long fibonacci(int count);
void main()
{
I think there is nothing wrong with for loop. You should use define after header files. There are error in if condition.
Instead of using
if(h <= D2 && > D3)
use
if(h <= D2 && h> D3)
...
Hi!
I am trying to create a Linked List and inserting some numbers and displaying those numbers through display function.
But I am not able to get the appropriate result.
Hope someone will help....
Hi! I am learning programming in C and I am trying to make a programme to convert the seconds in days, hours, minutes, and remaing seconds.
I have been discussed this problem earlier and got good...
Hi! I am a bigner and learning the C programming I am having a problem in Converting the Seconds (Input by User) into Days, Hours, Minuts & Seconds.
Can anyone help me. I am using the codes like...