코딩Coding/C++_연습
-
C++연습_숫자 영어로 입력하면 숫자로 출력하기코딩Coding/C++_연습 2020. 12. 20. 23:36
#include #include #include using namespace std; map reference; string ones[] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten" }; void storeOnes() { for (int i = 0; i test; string buffer; for (int i = 0; i < test.length(); i++) { buffer.push_back(test.at(i)); ma..
-
C++연습_숫자를 영어로 출력하기코딩Coding/C++_연습 2020. 12. 20. 23:27
#include #include "stdc++.h" using namespace std; int main() { int num, leftDigit, rightDigit; string ones[] = { "Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten", "Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen", "Sixteen", "Seventeen", "Eighteen", "Nineteen", }; string tens[] = { "Twenty", "Thirty", "Forty", "Fifty", "Sixty", "Seventy", "Eighty", "Ninet..
-
C++연습_문자열(내가 친 단어를) 순서대로 정렬하여 출력하기코딩Coding/C++_연습 2020. 12. 20. 17:03
www.includehelp.com/cpp-programs/sort-names-in-an-alphabetical-order.aspx C++ program to Sort Names in an Alphabetical Order Home » C++ programs C++ program to Sort Names in an Alphabetical Order In this article, we are going to learn how to sort a list of names (lowercase) in alphabetical order (Dictionary order) using C++ program? Submitted by Radib Kar, on December 12, 2018 www.includehelp.com