
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Please fix all the errors in this

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)
File Edit View Git Project Build Debug Test Analyze Tools Extensions Window Help
► Local Windows Debugger
week 13 programing exercise problem.c + X
Week 13 programing exercise
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Error List
41°F
Mostly cloudy
2
#include <stdio.h>
int main()
{
}
Debug
floatx, y, R, S, total;
printf("Input x : ");
scanf("%f", &x);
printf("Input y : ");
scanf("%f", &y);
return;
x86
(Global Scope)
P = x*y;
S = x + y;
total = s * s + p * (s - x) * (p + y);
printf("Total is : %.2f", total);
Q Search
■
▼
main()
SCE 32
0
Week 1...xercise
* Solution Explorer
#
A
X
Sign in &
+=.
Live Share
à (A)
Solution Explorer Git Changes
Properties
I
n
Search Solution Explorer (Ctrl+;)
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
7:25 PM
12/4/2022
Q
(ZzZ

Transcribed Image Text:ITD-1033-60614 (8) - lab-def11688-10fc-4eb1-969e-a7ba0ed87dfc.southcentralus.cloudapp.azure.com:7015 - Remote Desktop Connection
Error List
Entire Solution
Code Description
C2065 'floatx': undeclared identifier
C2065 'y': undeclared identifier
C2065 'p': undeclared identifier
C2065 's': undeclared identifier
C2065 'total': undeclared identifier
C2065 'x': undeclared identifier
C2065 'y': undeclared identifier
'p': undeclared identifier
X C2065
XC2065 'x': undeclared identifier
X C2065 'y': undeclared identifier
C2065 's': undeclared identifier
C2065 'x': undeclared identifier
C2065 'y': undeclared identifier
C2065 'total': undeclared identifier
C2065 's': undeclared identifier
C2065
's': undeclared identifier
'p': undeclared identifier
X C2065
X C2065
X C2065
's': undeclared identifier
'x': undeclared identifier
X C2065
'p': undeclared identifier
X C2065
'y': undeclared identifier
C2065 'total': undeclared identifier
C2065
'return0': undeclared identifier
'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use
_CRT_SECURE_NO_WARNINGS. See online help for details.
X C4996
XC4996
X 25 Errors ! 0 of 3 Warnings i 0 Messages * Build Only
'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use
CDT SECUIDE NO WARNINCS Can aulina halu for details.
41°F
Mostly cloudy
Q Search
■
I
Week 13 programing exer... week 13 programing exer... 9
Search Error List
Project
File
Line Suppression State
Week 13 programing exer... week 13 programing exer... 5
Week 13 programing exer... week 13 programing exer... 5
Week 13 programing exer... week 13 programing exer... 5
Week 13 programing exer... week 13 programing exer... 5
Week 13 programing exer... week 13 programing exer... 5
Week 13 programing exer... week 13 programing exer... 7
Week 13 programing exer... week 13 programing exer... 9
Week 13 programing exer... week 13 programing exer... 10
Week 13 programing exer... week 13 programing exer... 10
Week 13 programing exer... week 13 programing exer... 10
Week 13 programing exer... week 13 programing exer... 11
Week 13 programing exer... week 13 programing exer... 11
Week 13 programing exer... week 13 programing exer... 11
Week 13 programing exer... week 13 programing exer... 12
Week 13 programing exer... week 13 programing exer... 12
Week 13 programing exer... week 13 programing exer... 12
Week 13 programing exer... week 13 programing exer... 12
Week 13 programing exer... week 13 programing exer... 12
Week 13 programing exer... week 13 programing exer... 12
Week 13 programing exer... week 13 programing exer... 12
Week 13 programing exer... week 13 programing exer... 12
Week 13 programing exer... week 13 programing exer... 14
Week 13 programing exer... week 13 programing exer... 16
Week 13 programing exer... week 13 programing exer... 7
0
4) J
7:28 PM
12/4/2022
X
X
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 3 steps with 1 images

Knowledge Booster
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.Similar questions
- Writing your code very compactly will increase readability. O True Falsearrow_forwardHi, c++ help Please see my code The code reads two numbers from a file and creates a dice which must be played a certain amount of times (dertimined by input file). The code must then output the results of the multiple dice rolls. For line 1 **the numbers in brackets are the results of the multiple dice roll while the last number is the sum of the throws for the first die As you can see for the first line everything adds up correctly as the results of the dice (in brackets) are summed up correctly (last number) For the second row and all other following rolls, the code adds the rolls of the new dice and the result of the previous sum to get the new sum. This should not happen, I want the sum of each rows to be displayed on the end of each line The correct code should be display **please don't output comment [2] - [4 ]-[5] - 11 //dice rolled 3 times and sum is 11 [1] - [1 ]-2 //dice rolled 2 times with sum 2arrow_forwarduse ibm is400 series to answer the following question (the output should shown in screenshot) 1 - develop a new Library called MnnLIB1 (NN is your student login id number) using the command CRTLIB 2 - develop a new Jobq MnnJOBQ1 and Outq MnnOUTQ1 in the Library MnnLIB1 using the command crtjobq and crtoutq 3 - Grant *PUBLIC *USE Authority to your MnnLIB1 library using the command wrkobj MnnLIB1 and then option 2 4 - Submit 3 jobs using sbmjob in your MnnJOBQ1, these jobs will not run, since they are not attached to any sub-system. Check it out by using wrkjobq command 5 - Change the 3 jobs submitted in step #4 to run in sub-system QINTER and change the out to MnnOUTQ1. These jobs will run, and the results will be in MnnOUTQ1. Check it out by using wrkoutq command 6 - develop a new Source File called MnnSRC in your library MnnLIB1 using command crtsrcpf 7 - develop a new Save File called MnnSAVF in your library MnnLIB1 using command crtsavf 8 - Run DSPJOBLOG command and save the…arrow_forward
- What is wrong with the following code? When ran, the code is supposed to generate a mad-lib for the user to fill in. However, when ran, the program encounters an error. the language used is C++ istrname is instructor name and studnamef and studnamel are the first and last name of a student repesectfullly. and rotfood is a rotten food. The output for the mad lib is completely up to the user.arrow_forwardYou guys are giving me wrong answer every time. This is last warning Don't try to copy other's content or don't us any AI otherwise I'll definitely give multiple downvotes and will report your accountarrow_forwardC++ Question Hello, Please create the correct code for the attached picture. Please create the code based on the given requirements. Please make sure it is working. Thank you!arrow_forward
- Which of the following statements is true: "preemptive" and "preemptive scheduling" suggest the same thing, or do they signify distinct things?arrow_forwardSTRICTLY FOLLOW QUESTIONS AND TEMPLATES. MAKE CODE ACCORDING TO THE TEMPLATE PROVIDE AT THE END OF THE QUESTION. MATCH INPUT AND OUTPUT AS IT IS. -----------------START------------------------ Write a C++ program to collect blood donor details like name, age, height, weight, gender, blood group. The data like weight, height, age are not fixed and it may change so they wanted to update all these details in their database once in three months. Strictly adhere to the Object-Oriented specifications given in the problem statement. All class names, member variable names, and function names should be the same as specified in the problem statement. Create separate classes in separate files. The class called Donor contains the following private attributes. Data Type Variable Name string name int age float height float weight string gender string bloodGroup Include the following member function in the Donor class Member Function Description void display() To…arrow_forwardHow do you: Construct a program that calculates the course overall grade point average (GPA). The program must input 3 scores for each of the categories listed in the calculation of the GPA provided below with exception of the final examination. The maximum score for all quizzes is 20 points each, the maximum score for all homework assignments is 50 points each, the maximum score for all tests and all programming assignments is 100 points each, and the maximum for the final examination is 120 points. You can select the scores that you make on each of these assessed items. Assignments Scale Homework 10 % Programming Assignments 25 % Quizzes (Weekly) 15 % Tests 30 % Final Examination 20 % You must develop the formula for calculating the GPA using the information provided in the table. For example if the final examination has a maximum score of 120 and you get an 85. Then your weighted score for the final examination is calculated using the…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education