Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2 In the following program #include 2 int main () 4 int float delta3.756, epsilon22.123 int float resfl, resf2, resf3; alpha 10, beta = 33,

image text in transcribedimage text in transcribed

2 In the following program #include 2 int main () 4 int float delta3.756, epsilon22.123 int float resfl, resf2, resf3; alpha 10, beta = 33, gam gamma-5; 6 7 8 resl, res2; printf ( "%d, %2d, %-3d, %5d ! ! ", alpha, beta, alpha, gamma ) 12 reslbeta + alpha / gamma; res2 beta / alpha * 2 - alpha % gamma ; printf( "%d,%d ", res1, res2 ); rest! = epsilon delta ; printf( '' % f , %e, %-4f,8-7 . 1 f !! ", delta, epsilon, resfl, delta 20 21 res f 1 beta; resf2-resfl / alpha + delta; printf( "%5.2f,8-6 . 3f !! ", res f 1 , 23 24 25 26 27 28 resf2 ); resl - resf1 * resf2; printf "8-4f!! ", resl; return0; (d) Write the output of the print statement on line 23 using a triangle (A) for each space that would be printed. [4 marks) (e) What is wrong with line 26? [3 marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning C# 2005 Databases

Authors: Karli Watson

1st Edition

0470044063, 978-0470044063

More Books

Students also viewed these Databases questions

Question

4. Does cultural aptitude impact ones emotional intelligence?

Answered: 1 week ago