C language task case creation problem

Asked 2 years ago, Updated 2 years ago, 43 views

I don't even understand what you mean... Please help the coding masters who will understand ㅠ<

c

2022-09-22 18:43

1 Answers

Let's think of it as a language section for the college entrance exam. Perhaps the key to the problem is to determine if the user enters Xstrong> a specific natural number that can consist of the sum of 3 and 7, respectively. For example, since 14=7+7, 14 is YES and 41=27+14=(3*9)+(7*2), 41 is also YES.

If this reasoning is correct, I think it's just a problem, whether it's coding expert or sewage. 41 When you say you eat pieces, you eat 9 honchik sets and 2 comon sets alone, but you sat down with nonsense. (Of course, the documents that the plan throws at the development team in practice are full of nonsense.) If you want to be a working-level developer, you need to develop your own literacy skills to identify problems before you ask others.)

If the above inference is correct, the coding itself is a very simple program that requires you to double-turn the for statement to create an array and verify that the input value is only in the array. Try it.


2022-09-22 18:43

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.