#C13280. Print Supplier Information
Print Supplier Information
Print Supplier Information
In this problem, you are provided with a predefined list of suppliers. Each supplier has an id, a name, and a contact email. Your task is to output the supplier details exactly as specified. The details for each supplier should be printed on a separate line in the following format:
id name contact
For example, the expected output is:
1 Supplier A contactA@example.com 2 Supplier B contactB@example.com 3 Supplier C contactC@example.com
Note: Even though the program will read an input from stdin, the input is ignored. Mathematically, let ( S = { (id, name, contact) : id \in \mathbb{N} } ) be the set of suppliers. Your program should simply output the ordered set.
inputFormat
The program reads a single line from standard input. This input is a dummy value and should be ignored.
outputFormat
The program must output the details of three suppliers. Each supplier's details should be printed on a separate line in the format:
id name contact
The order of output must be as follows:
1 Supplier A contactA@example.com 2 Supplier B contactB@example.com 3 Supplier C contactC@example.com## sample
start
1 Supplier A contactA@example.com
2 Supplier B contactB@example.com
3 Supplier C contactC@example.com
</p>