Page not loading? Try clicking here.
Placeholder

#237

String 2 - Formative Assessment 9 1s - MB

Problems

Write a program that receives an integer, a floating-point number, and a string in order, then prints them together in a new string.

After that, split the new string into two halves and print them.

  • Round the floating-point number to three decimal places.

  • If the length of the new string is odd, print one extra character on the first line.

Each input has a length of at most 30 characters.


Example

12345 5.0123 fighting
123455.01

2fighting

Source

자기주도C언어프로그래밍

You must sign in to write code.