Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import std.stdio;
- void main() {
- write("Enter group id ");
- char[] groupid;
- stdin.readf(" %s", &groupid);
- write("How many students are there? ");
- int studentCount;
- readf(" %s", &studentCount);
- writeln("Got it: in the group ", groupid, " are ", studentCount, " students.");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement