Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What is the problem? C Hoje tot Red Woods Cand RS- included 4. Task 3. Output greatest OUDE MELHORES DE geeded 11 13 into ouis

What is the problem? image text in transcribed
image text in transcribed
image text in transcribed
C Hoje tot Red Woods Cand RS- included 4. Task 3. Output greatest OUDE MELHORES DE geeded 11 13 into ouis variables trt 10,2). Hortint the of the printf(ber 1 = V.): printihumber 2 - artbrev rattating the highest er bleib), this art will return the rest It Migestube (bad)ce:(bas): pretty the printf(the highest rustet ts - grester 14 Check 1 failed 10 17 1. e 119 10 1 21 3 the 3 #include int main() { // defining 3 variables int a=10,b=23, c=5; 5 5 B 1/printing the values of all the 3 variables printf("number 1 = %d ",a); printf("number 2 = %d ",b); printf("number 3 = %d ",c); 1/calculating the highest number (a>b?a:b), this part will return the greatest among a and b. int highest number = (a>b2a:b) b?a:b); 2 3 4 5 6 7 7 8 9 @ 1 1./printing the highest number printf("the highest number is = %d", highest_number); return 0; } Task 3: Output greatest value X LAST RUN on 2/16/2021.5.29:25 PM Check 1 failed Output: number 1-10 number 2 = 23 number 3 - 5 the highest number is - 23 Expected: number 1 - number 2 - number 3- The highest number is 23 Feedback: Check the format of ternary operator. h

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

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions

Question

Identify the types of informal reports.

Answered: 1 week ago