write a C program, given number is double without using addt
ion and multiplication operator?ex:n=6,ans=12,pls send me ans
to goviseenu@gmail.com
Answer Posted / sandeep
#include<stdio.h>
#include<conio.h>
void main()
{
int num;
printf("Enter a floating point value");
scanf("%f",&num);
printf("Given no is %f and twice of number is %f"num,num-(-num));
getch();
}
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is main () in c language?
what is uses of .net
What is the best way of making my program efficient?
What is c language used for?
What are pointers? What are different types of pointers?
What is the difference between strcpy() and memcpy() function in c programming?
Why we use void main in c?
In which language linux is written?
Explain how do you generate random numbers in c?
What are different types of operators?
Explain how do you print only part of a string?
What are 'near' and 'far' pointers?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
How do you declare a variable that will hold string values?
Write a program that accept anumber in words