[solved] – Question 72143

In a right triangle, the square of the length of one side is equal to the sum of the squares of the lengths of the other two sides. Write a program that prompts the user to enter the lengths of three sides of a triangle and then outputs a message indicating whether the triangle is a right triangle.

Expert Answer


[solved] – Question 72152

Consider A,B,C as three arrays of size m,n and m+n respectively.Array A is stored in ascending orders where as array B is stored in descending order.Write a C++ program to produce a third array C, containing all the data of array A and B and arranged in descending order.Display the data of array C only

Expert Answer


[solved] – Question 72225

??? Can be used to represent different information

Expert Answer


[solved] – Question 72226

The operation of the AND, OR and NOT logic operators can be represented by????

Expert Answer


[solved] – Question 72304

To print the sum of squares of even numbers from 10 to 30 in reverse order using flowchart and ms word.

Expert Answer


[solved] – Question 72374

For this assignment, you will manipulate an input String using String functions. The first input will be a String of any length that you will be manipulating. The second input String will be a “pivot” String that is used to shuffle around the contents of the first input String.

If the pivot String is found somewhere inside of the first input String, then you will swap the contents of the first input String that appear before and after the pivot String. For example, if the first input is “OneTwoThree”, and the pivot String is “Two”, your output will be “ThreeTwoOne”. Note that the contents of the first input String before and after the pivot String have been swapped, but the order of characters within those substrings remains the same.

Can you help me with this. I have no desire to do this and it’s for a grade.

Expert Answer


[solved] – Question 7241

Can u please assist me in fixin this program?

#include <stdio.h>
#include <string.h>

main()
{
void enterdata(int y[]);
int y;
int i=0;
int choice;
void searchdata(int x[]);
char paint [9];
char colours [9];
char search[9];
int colour_no;
int r;
int x=0;

if(y>=5701||y<=5709)
printf(“Choice Available:%d”,enterdata);

if(y<5701||y>5709)
printf(“Choice Not Available:%d”,enterdata);

if(x!=-1)
printf(“Colour Found:%s”,colours);

if(x==-1)
printf(“Colour Not Found:%s”,colours);

}

void enterdata(int y[]){
int i;
if(i>=5701||i<=5709)
{
printf(“Enter choice”);
scanf(“%d%”,i);
}
else(i<5701||i>5709);
printf(“Re-enter choice:”);
{
if(i==5701)
{
printf(“Redn:”);
}
if(i==5702)

Expert Answer


[solved] – Question 7242

how would you write a program which uses a 1D array to store 10 temperature readings
and that the program include 4 functions main(),controller,ctof() and ftoc().
that the program is for converting fahrenheit to celcius
with it being Fahrenheit->Celcius /5*9 +32

Celius -> (Fahrenheit-32)/9*5

Expert Answer


[solved] – Question 72446

Two numbers are entered through the keyboard. Write a program to find the value of one number raised to the power of another. i.e.:x^y using while loop.

Expert Answer


[solved] – Question 7252

Write the function product which consumes a list of numbers and returns the product of those numbers. Make sure you follow the design recipe!

Expert Answer