Предмет: Информатика, автор: Bedruha

Вывести на экран количество единиц десятков и сотен трехзначного числа вводимиого с клавиатуры
Пж ребят срочняк

Ответы

Автор ответа: iknrmnu
1
include <iostream>
include <cmath>
using namespace std;
int main()
{
int a;
cin>>a;
cout<<a%10<<" "<<(a%100-a%10)/10<<" "<<a/100;
return 0;
}
Автор ответа: pryhodzichdavid
1

var a,b,c:char;


begin


readln(a,b,c);


writeln('Сотни=',a);


writeln('Десятки=',b);


writeln('Единицы=',c);


end.



Похожие вопросы
Предмет: Биология, автор: kira12012008kira
Предмет: Английский язык, автор: jjjggt
Помогите!!!

Read the dialogue and fill the gaps with the appropriate modal verbs.


Maggie: Hi, Tom! Have you finished your homework?

Tom: Oh, hello, Maggie. No, I haven’t.

Maggie: The deadline is tomorrow, so you (have to/can/ought to)
submit it tomorrow.
Tom: I can’t make it. I haven’t even started it yet. Can we hand it in next week?
Maggie: I don’t know. You’ll have to ask Mrs Robinson about that. I think you (can/must/shouldn not) finish it by tomorrow. It (can/can not/must)be so that she accepts projects after tomorrow.
Tom: I’ve had so many other things to do. I couldn’t even start it. I don’t know what to do. It (might/ought to/should) be impossible to finish the project in time!
Maggie: Don’t worry. I’ll help you. It’s not very difficult. I finished it in one day.
Tom: Really? Great! Tell me where to begin!

Maggie: First, you (can/may/should) read the article about the Mohican Civilization that Mrs Robinson gave us. Then, you have to design a poster for a film about them – the Mohicans – for the movie theatre.
Tom: Yeah, I know but it looks a bit difficult…
Maggie: Not at all. You (must/have to/don"t have to) make the poster with your own hands. You (ought to/can not/might be) find a template on the Internet. Just use one of those designs to make your own poster.
Tom: Well, I think I can do it. What title shall I use? Can you help me?
Maggie: Yeah, I can give you some suggestions but you (must/must not/ought not) use the same title as anyone else in our class.
Tom: Okay, I can come up with something, I guess. I’ll follow the project guidelines as you said. Thanks, Maggie.
Maggie: No problem. Good luck!
Предмет: Математика, автор: aclimova6
Предмет: Алгебра, автор: diana14091409