Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A small, non-profit school needs help taking data about its courses and breaking it into different pieces of information that the school needs. The course

A small, non-profit school needs help taking data about its courses and breaking it into different pieces of information that the school needs. The course data they receive has the following component parts: course id, department, course number, section, number of credits and course name. The String will be in the following format: courseId department-courseNumber-section credits-courseName for example: 18169 CSC-120-G1 4.0-Computer Science I 7531 MATH-1001-T11 4.25-Mathematical Reasoning Everything before the first space is the course id. The part between the first and second space is the department-courseNum-section. These parts are separated by hyphens. After the second space is the number of credits, followed by a hyphen and then the name of the course. Each of the parts can vary in length, for example, you cannot assume that the course id will always be 5 numbers or that the section will only be 2 characters.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions