Entries by Munene david

What is wrong with this? It is supposed to countdown from 10

What is wrong with this? It is supposed to countdown from 10 #include&lt;stdio.h&gt;   int main() { int Number[10], i, x, y = 10; for(i = 0; i < 10; i++) { x = y-i; Number[i] = x; printf(“Count down from ten: %d\n”, Number); }   return (0); }   Looking for a Similar Assignment? […]

 

Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"

Im having trouble using C (programming language) to set up a formula

Im having trouble using C (programming language) to set up a formula to find the perimeter of a trapezoid. I keep getting errors to define my variables when switching from calculating area to perimeter   Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code “Newclient”

 

Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"

how do i show square-root in code when putting in an equation

how do i show square-root in code when putting in an equation. i keep getting errors when using this equation. perimeter = baseA + baseB + height + sqrt (height*height + (baseA – baseB)*(baseA – baseB))   Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code “Newclient”

 

Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"

I am currently using Repl.it to run a program using C. The concept is simple

I am currently using Repl.it to run a program using C. The concept is simple, I am writing a program to calculate the distance between 2 points. I have completed the program however it is not actually taking the square root. My code looks like this: #include &lt;stdio.h&gt; #include &lt;math.h&gt; int main() { /*variable definition: […]

 

Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"