Questions: 1 680

Answers by our Experts: 1 680

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

#include<stdio.h>
int main()
{
int k=35;
printf("\n %d %d %d",k==35,k=50,k>40);
return 0;
}
please sir explain the logic behind this program clearly.
#include<stdio.h>
int main()
{
int x=3,y=5;
if(x==3)
printf("\n %d",x);
else;
printf("\n %d",y);
return 0;
}
what is the logic behind this program sir.can you please explain me clearly.
#include<stdio.h>
int main()
{
int x=10,y=20;
if(x==y);
printf("\n %d %d",x,y);
return 0;
}
after the if statement there is no semicolon sir.If semicolon is there after the if statement what will be the output sir.
int i=2,j=3;
float a,b;
k=i/j*j;
l=j/i*i;
a=i/j*j;
b=j/i*i;
please sir can you provide me a answer for this question and explain me
how can i get the right output?

#include <stdio.h>


int main( )
{
char status[] = {'s','i','m','p','l','e' } ;
char i, x ;



printf ( "Enter character to search: " ) ;
scanf ( "%c", &x ) ;

for(i=0;i<=5;i++)
{
if ( status[5] < x || status[i] >= x )
{
if ( status[5] == x)
printf ( "The character is at position %d in the array.", i ) ;
else
printf ( "character is not present in the array." ) ;
break ;
}
}

}
Write a program that converts a number in Cartesian coordinates to polar form. The user will enter two values (real and imaginary parts of the number). The program will display the values of and r and O.
Write a program that prompts the user to enter two dates and then find which date comes earlier on the calendar. Use structure to store date and function to compare dates.
Sample Run:
Enter first date (mm/dd/yy) : 3/8/10
Enter second date (mm/dd/yy) : 5/17/11
3/8/10 is earlier than 5/17/11.
Write a program that reads a message and checks whether it is a palindrome or not. Use array name as a pointer to keep track of positions in the array (Ignore special characters).
Sample Run:
Enter a message: Madam, I am Adam.
The message entered is not a palindrome.

how to solve this
is TURBO-C is enough to compile this program

Thanks
Write a function that computes the value of the polynomial 3x5+2x4-5x3-x2+7x-6 . Write a program that asks the user to enter a value for , calls the function to compute the value of the polynomial, and display the value returned by the function.
Write a function that computes the value of the polynomial 3x5 . Write a program that asks the user to enter a value for , calls the function to compute the value of the polynomial, and display the value returned by the function.
LATEST TUTORIALS
APPROVED BY CLIENTS