Expected 12 3 5- 2 4 6 10+ 3 6 9 12 15+ 4 12 16 20+ 5 10 15 20 25 CD 1 2 3 4 5 6 7 14 21 8 16 24 9 18 27 20 30 10 2 3 4 6 w 5 6 7 8 9 10+ 12 14 16 18 20+ 15 18 21 24 27 30- 40+ 50- WN 8 10 6 9 12 8 12 16 20 24 28 32 36 10 15 20 25 30 35 40 45 12 18 24 30 36 42 48 54 28 35 42 49 56 63 70- 32 40 48 56 64 72 80- 36 45 54 63 72 81 90- 40 50 60 70 80 90 100 9 60- Got 1 2 2 4 3 6 8 10 4 5 1 2 2 4 3 6 4 8 5 10 6 12 7 14 8 16 9 10 18 20 3 6 9 12 15 4 5+ 8 10- 12 15 16 20 20 25 3 4 5 6 7 6 8 10 12 9 12 15 18 12 16 20 24 15 20 18 24 21 28 24 32 27 36 45 54 63 72 30 40 50 60 70 80 CO 8 14 93 16 21 24 28 32 25 30 35 40 30 36 42 48 35 42 49 56 40 48 56 64
Expected 12 3 5- 2 4 6 10+ 3 6 9 12 15+ 4 12 16 20+ 5 10 15 20 25 CD 1 2 3 4 5 6 7 14 21 8 16 24 9 18 27 20 30 10 2 3 4 6 w 5 6 7 8 9 10+ 12 14 16 18 20+ 15 18 21 24 27 30- 40+ 50- WN 8 10 6 9 12 8 12 16 20 24 28 32 36 10 15 20 25 30 35 40 45 12 18 24 30 36 42 48 54 28 35 42 49 56 63 70- 32 40 48 56 64 72 80- 36 45 54 63 72 81 90- 40 50 60 70 80 90 100 9 60- Got 1 2 2 4 3 6 8 10 4 5 1 2 2 4 3 6 4 8 5 10 6 12 7 14 8 16 9 10 18 20 3 6 9 12 15 4 5+ 8 10- 12 15 16 20 20 25 3 4 5 6 7 6 8 10 12 9 12 15 18 12 16 20 24 15 20 18 24 21 28 24 32 27 36 45 54 63 72 30 40 50 60 70 80 CO 8 14 93 16 21 24 28 32 25 30 35 40 30 36 42 48 35 42 49 56 40 48 56 64
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
100%
Improve my C
This is my code:
#include<stdio.h>
int main(){
int size;
scanf("%d", &size);
for (int i = 1; i <=size; i++){
for (int j = 1; j <=size; j++){
printf(" %d", i * j);
}
printf("\n");
}
return 0;
}
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 3 steps with 3 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
Recommended textbooks for you
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
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