Good day maam/sir.. I would like to ask if my C program is correct? Please just answer yes or No.. I will give helpful rating with any of your answer as long as you are telling the truth... the question for this code is: Write a program that inputs two real numbers then exchanges their values. Is my coded C program correct? based also on the output on my screenshot
Good day maam/sir.. I would like to ask if my C program is correct? Please just answer yes or No.. I will give helpful rating with any of your answer as long as you are telling the truth... the question for this code is: Write a program that inputs two real numbers then exchanges their values. Is my coded C program correct? based also on the output on my screenshot
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
100%
Good day maam/sir.. I would like to ask if my C
the question for this code is: Write a program that inputs two real numbers then exchanges their values.
Is my coded C program correct? based also on the output on my screenshot

Transcribed Image Text:<global>
main(void) : int
DOO Q Q S C
+ + 2 Aa ,*
Management x
Projects
O Workspac
Start here X Talim_io1.c X Talim_io6.c X Talim_io7.c X Talim_io2.c X Talim_io3.c X Talim_io4.c X Talim_io5.c X Talim_io8.c X Talim_io9.c x Talim_io10.c X
1
#include <stdio.h>
//Alleah Grace s. Talim, CpE 1E, Week 4
/ *A program that inputs two real numbers then exchanges their values*/
3
4
6
int main (void)
7
8
int x, y;
printf ("Enter first real number:");
scanf ("%d", &x);
10
I "C:\Users\Albert Talim\Documents\TALIM_WEEK4\Talim_io9.exe"
Enter first real number:1
Enter second real number:2
11
12
printf ("Enter second real number:");
scanf ("%d", &y);
13
14
15
After exchange value: 2
After exchange value: 1
Process returned 0 (0x0)
Press any key to continue.
printf("\nAfter exchange value: %d",y);
printf ("\nAfter exchange value: %d",x);
16
17
execution time : 3.526 s
18
19
return 0;
20
21
22
Logs & others
A Code:Blocks X
Q Search results X
Z Cccc X O Build log X
Build messages
PPChecky vea essages
CcopC
Ppehecky vCra
File
Line
Message
=== Build file: "no target" in "no project" (compiler: unknown) ===
=== Build finished: 0 error (s), 0 warning (s) (0 minute (s), 0 second (s)) ===
\Users\Albert Talim\Documents\TALIM_WEEK4\Talim_io9.c
C/C++
Windows (CR+LF) WINDOWS-1252
Line 18, Col 1, Pos 392
Insert
Read/Write default
ab
7:02 pm
O Type here to search
qb
30°C
A 4x ENG
27/09/2021
14
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY