Arrange input and output of one integer, two real and three character variables

  • @Gaby in this forum is not accepted to do the work for someone. Please indicate what you have done yourself and what did not work out - DreamChild
  • left for you - voipp

2 answers 2

Oh, right now, minuses pick up (

#! /bin/bash var1 = var2 = var4 = var4 = var5 = var6 = 0 echo var1 echo var2 echo var3 echo var4 echo var5 echo var6 
  • rather pluses for humor :) - ProkletyiPirat

What is important to start with the programming language. I will give you the code on Pascal.

 // Объявляем переменные var int_a: integer; float_a, float_b, float_c: double; char_a, char_b, char_c: char; begin // одна целая переменная readln(int_a); writeln(int_a); // две вещественные переменные readln(float_a); writeln(float_a); readln(float_b); writeln(float_b); // три символа read(char_a); write(char_a); read(char_b); write(char_b); read(char_c); write(char_c); end. 

A little more can be read on the site link

There is nothing difficult for you to understand what you want. And in fact, your progress is not clear, which caused you difficulties. :)

  • @DreamChild is this because of the answer? - IVsevolod
  • No, I'm not so bad as to put cons only for the very fact of the answer) I put it for the fact that you have no hint of typification, and this is the whole point of the question (signs of the Hungarian notation do not count). Apparently the vehicle is not at all familiar with programming, and therefore your answer for him is a dark forest. Moreover, the programming language is not specified in the question, and for some reason you are using pascal - DreamChild
  • I agree that the lack of typing in me is an obvious gap. If there is a reason in the comments, I would immediately understand my mistake, and correct the answer (or delete it if there is no sense in the answer as such). By the way, according to these criteria, another answer is also suitable: there is no typing, a specific language is chosen, a dark forest (not only is there no such data entry). , so for me your reasons are still mysterious :) - IVsevolod
  • @IVsevolod I didn’t miss the first answer because it is a language I simply don’t know (I also thought that there was no typing, but I didn’t read Pasternak but condemn it). Moreover, from the explanations of the author, I thought it was some kind of joke - DreamChild
  • @DreamChild ok, now I understand your opinion :) - IVsevolod