

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A university lesson for an introduction to programming course, specifically lesson 6, which covers char and string data types and associated operations. Students are required to write programs using scanner and input dialog to input data and convert it to the correct data type. The lesson also includes an assignment to write a program displaying unicode characters for various greek letters.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


c. Write a program named DisplayUnicode.java to display the Unicode characters for the Greek letters (both upper case and lower case) alpha, beta, gamma, delta epsilon, zeta, eta, theta, ioa, kappa, lamda, mu, nu, omicron, pi, rho, sigma, tau, upsilon, phi, chi, psi, and omega. Note: The textbook example DisplayUnicode.java will not display the Chinese characters (\u6B22 and \u8FCE) unless the Chinese font is installed on your computer. The characters should be displayed as followed: