Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, here are the last couple of questions for my intro to programming for my intro course I would like the help int main(void) {

Hello, here are the last couple of questions for my intro to programming for my intro course I would like the help

image text in transcribedimage text in transcribedimage text in transcribed

int main(void) { int k, num 30; k = (num > 5? (num = 5? (j = 10):(j = 15); printf (" %d %d", i, j); } Error. Invalid comparison ":" used No Error int main(void) { int tag = 0, code = 1; if (tag == 0) (code > 1 ? printf (" Hello") ? printf(" Hi")); else printf (" Hello Hi !!"); return 0; } No Error Error. missing : ( colon)

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

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

More Books

Students also viewed these Databases questions

Question

=+ What topics should be provided in training programs?

Answered: 1 week ago