Q3. Given a set of milling machine program as Table 3.0 below, kindly write a complete C codes to enable user to key in thier matrix number e.g. CD190056, the system will automatically detect and use the last 2 digits as n input steps (e.g. CD190056, n = 5 + 6 = 11 steps). The program will request user to enter integer value into feedrate area [ ] before it able to generate the outputs. The use of “for" loop and array[ ] feature is a MUST in bulidng the C codes. Table 3.0: Operation Rou Example: If your matrix no. is CD190005 n= 0+5 =5 steps ху%3D05 x = 0 y = 5 Example output: Step 1 100 rpm 100 feedrate 300 х-ахis 10 у-аxis n Steps (sum of matrix no. last 2 Rotation in rpm (auto generate- every step increase insert value) (auto generate 100rpm) Feerate х-ахis у-ахis (user to movement movement (auto generate with formula: digits) with formula: 300-х-у) 10 + y) [0] [1] [2] [3] [4] 1 100 300 295 10 15 200 3 300 400 290 285 20 25 4 5 500 280 30

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...
icon
Related questions
Question

my last two digit number is=  01

Q3. Given a set of milling machine program as Table 3.0 below, kindly write a complete C codes
to enable user to key in thier matrix number e.g. CD190056, the system will automatically
detect and use the last 2 digits as n input steps (e.g. CD190056, n = 5 + 6 = 11 steps). The
program will request user to enter integer value into feedrate area [ ] before it able to generate
the outputs. The use of "for" loop and array[ ] feature is a MUST in bulidng the C codes.
Table 3.0: Operation Rou
Example: If your matrix no. is CD190005
n = 0+5 = 5 steps
ху 3D 05
x = 0
y = 5
Example output: Step 1
100 гpm
100 feedrate 300 x-axis
10 у-аxis
n Steps
(sum of matrix
no. last 2
Rotation in rpm
(auto generate-
every step increase insert value) (auto generate
100rpm)
Feerate
х-ахis
у-ахis
(user to
movement
movement
(auto generate
with formula:
digits)
with formula:
300-х-у)
10 + y)
[0]
[1]
[2]
[3]
[4]
1
100
300
10
2
200
295
15
3
300
290
20
4
400
285
25
5
500
280
30
Transcribed Image Text:Q3. Given a set of milling machine program as Table 3.0 below, kindly write a complete C codes to enable user to key in thier matrix number e.g. CD190056, the system will automatically detect and use the last 2 digits as n input steps (e.g. CD190056, n = 5 + 6 = 11 steps). The program will request user to enter integer value into feedrate area [ ] before it able to generate the outputs. The use of "for" loop and array[ ] feature is a MUST in bulidng the C codes. Table 3.0: Operation Rou Example: If your matrix no. is CD190005 n = 0+5 = 5 steps ху 3D 05 x = 0 y = 5 Example output: Step 1 100 гpm 100 feedrate 300 x-axis 10 у-аxis n Steps (sum of matrix no. last 2 Rotation in rpm (auto generate- every step increase insert value) (auto generate 100rpm) Feerate х-ахis у-ахis (user to movement movement (auto generate with formula: digits) with formula: 300-х-у) 10 + y) [0] [1] [2] [3] [4] 1 100 300 10 2 200 295 15 3 300 290 20 4 400 285 25 5 500 280 30
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
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 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)
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
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY