Advertisement
Guest User

Untitled

a guest
Jan 20th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.31 KB | None | 0 0
  1. import std.stdio;
  2. void main() {
  3.     write("Enter group id ");
  4.     char[] groupid;
  5.     stdin.readf(" %s", &groupid);
  6.     write("How many students are there? ");
  7.     int studentCount;
  8.     readf(" %s", &studentCount);
  9.     writeln("Got it: in the group ", groupid,     " are ", studentCount, " students.");
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement