Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Applied Programming

Task:

Write a program in any language:

The user enters a number from 1 to 9999 (the withdrawal amount at the ATM). It is necessary to display the entered amount on the screen in words and at the end write the name of the currency (ruble) with the correct ending.

For example: 7431 - seven thousand four hundred thirty-one rubles, 2149 - two thousand one hundred forty-nine rubles, 15 - fifteen rubles, 3 - three rubles.

Assignment with * (asterisk): the first word must be written with a capital letter (7431 - Seven thousand four hundred thirty-one rubles, 2149 - Two thousand one hundred forty-nine rubles, 15 - Fifteen rubles, 3 - Three rubles)

Program name:

Pluralize task

Description:

A simple program for solving the problem of pluralized values using a precompiled dictionary of pluralized values

Screenshot:

image

How to use:

To use the program, you need to follow these steps:

  1. Compile the executable file of the program from the source code or use the precompiled version
  2. Run the program
  3. Enter number
  4. Get the execution result

Comments from the developer:

To develop this program, a development environment called Clion was used. Compilation was performed using the CMake tool. You can use any development environment to open the main.cpp source code file. For your convenience, in the cmake-build-debug folder you can find a precompiled version of the program.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

A simple program for solving the problem of pluralized values using a precompiled dictionary of pluralized values

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages