Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Bartleby Related Questions Icon

Related questions

bartleby

Concept explainers

Question

Please fix all the errors it was supposed to made in 2019 visual studio 

thank you 

Server Explorer Toolbox
ITD-1033-60614 (8) - lab-def11688-10fc-4eb1-969e-a7ba0ed87dfc.southcentralus.cloudapp.azure.com:7015 - Remote Desktop Connection
Search (Ctrl+Q)
Help
File Edit View Git Project Build Debug Test Analyze Tools Extensions Window
► Local Windows Debugger
|
week 13 programing exercise problem.c X
Week 13 programing exercise
#include<stdio.h>
# ==> start exercise
x = float (input())
y float (input())
2
8
9
10
1
Error List
P = x * y
S = x + y
total= (s* *2) + (p* (sx)) * (p + y)
print (total) #print total
#End <==
Entire Solution
Code
XC2019
X C2059
X C2014
C2014
X C2014
C2014
X C2014
Debug
* 9 Errors
46°F
Mostly sunny
#read x
#read y
x86
(Global Scope)
#compute p = xy
#compute s = x + y
#total s2 + p * (s - x) * (p + y)
0 Warnings
C2014
C1021 invalid preprocessor command 'End'
i 0 Messages
Description
expected preprocessor directive, found '='
syntax error: 'type'
preprocessor command must start as first nonwhite
space
preprocessor command must start as first nonwhite
space
preprocessor command must start as first nonwhite
space
preprocessor command must start as first nonwhite
space
preprocessor command must start as first nonwhite
space
preprocessor command must start as first nonwhite
space
*7
Build Only
a
File
Project
Week 13 programing exer... week 13 programing exer... 2
Week 13 programing exer... week 13 programing exer... 3
Week 13 programing exer... week 13 programing exer... 3
Search Error List
Week 13 programing exer... week 13 programing exer... 4
Line Suppression State
Week 13 programing exer... week 13 programing exer... 5
Q Search
Week 13 programing exer... week 13 programing exer... 6
Week 13 programing exer... week 13 programing exer... 7
SCE 32
Week 13 programing exer... week 13 programing exer... 8
Week 13 programing exer... week 13 programing exer... 10
0 Week 1...xercise
* Solution Explorer
+
‒‒‒‒‒‒‒
X
4
Sign in &
▷
Live Share
Search Solution Explorer (Ctrl+;)
à (A)
PEAL
I
Solution Explorer Git Changes
Properties
I
y -
S
Solution 'Week 13 programing exercise' (1 of 1 project)
Week 13 programing exercise
■-■ References
ADMIN
External Dependencies
Header Files
Resource Files
Source Files
week 13 programing exercise problem.c
++ Week 13 programing exercise.cpp
X
2:49 PM
12/4/2022
Q
1
expand button
Transcribed Image Text:Server Explorer Toolbox ITD-1033-60614 (8) - lab-def11688-10fc-4eb1-969e-a7ba0ed87dfc.southcentralus.cloudapp.azure.com:7015 - Remote Desktop Connection Search (Ctrl+Q) Help File Edit View Git Project Build Debug Test Analyze Tools Extensions Window ► Local Windows Debugger | week 13 programing exercise problem.c X Week 13 programing exercise #include<stdio.h> # ==> start exercise x = float (input()) y float (input()) 2 8 9 10 1 Error List P = x * y S = x + y total= (s* *2) + (p* (sx)) * (p + y) print (total) #print total #End <== Entire Solution Code XC2019 X C2059 X C2014 C2014 X C2014 C2014 X C2014 Debug * 9 Errors 46°F Mostly sunny #read x #read y x86 (Global Scope) #compute p = xy #compute s = x + y #total s2 + p * (s - x) * (p + y) 0 Warnings C2014 C1021 invalid preprocessor command 'End' i 0 Messages Description expected preprocessor directive, found '=' syntax error: 'type' preprocessor command must start as first nonwhite space preprocessor command must start as first nonwhite space preprocessor command must start as first nonwhite space preprocessor command must start as first nonwhite space preprocessor command must start as first nonwhite space preprocessor command must start as first nonwhite space *7 Build Only a File Project Week 13 programing exer... week 13 programing exer... 2 Week 13 programing exer... week 13 programing exer... 3 Week 13 programing exer... week 13 programing exer... 3 Search Error List Week 13 programing exer... week 13 programing exer... 4 Line Suppression State Week 13 programing exer... week 13 programing exer... 5 Q Search Week 13 programing exer... week 13 programing exer... 6 Week 13 programing exer... week 13 programing exer... 7 SCE 32 Week 13 programing exer... week 13 programing exer... 8 Week 13 programing exer... week 13 programing exer... 10 0 Week 1...xercise * Solution Explorer + ‒‒‒‒‒‒‒ X 4 Sign in & ▷ Live Share Search Solution Explorer (Ctrl+;) à (A) PEAL I Solution Explorer Git Changes Properties I y - S Solution 'Week 13 programing exercise' (1 of 1 project) Week 13 programing exercise ■-■ References ADMIN External Dependencies Header Files Resource Files Source Files week 13 programing exercise problem.c ++ Week 13 programing exercise.cpp X 2:49 PM 12/4/2022 Q 1
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education