Hi everyone.
So in this lesson we're going to learn what our menu Pluto's so memorable you decide actually output
for a matter.
Now if you remember we used to write C out and line.
So instead of find land where you can use.
You can also write like this C out then this new land corrected.
So this is a manual router.
So there are many many polluters for example it does discuss about the minor player district.
We have 14 in.
So for example you have hexadecimal you have octane Do you have deck.
So for example if you will write like this C out hex and let's say 163.
So what will happen.
So this 163 will be converted into hexadecimal and the output will be I think A3 so e t will get printed.
So let me show you so this is our file
so if you will do like this C O takes and I want to print 1 6 2 3.
So what will happen.
The hexadecimal value of 163 will get printed
so A3 is the hexadecimal value of 163.
Similarly you can also print it's OK value
so this is the octave value.
So in this way you can use hexadecimal or you can use the law you can use back.
Now similarly there are many produced available for flute.
So what are those many include.
So first one is I think fixed and the second one is scientific.
So what is the difference between fixed and scientific.
So if you will write something like this C out fixed and if you give a floating number for example let's
say twenty three point seven five two.
So what will happen the exact same value will get printed if you're using fixed but if you're using
scientific then what will happen to this number is going to be converted into the scientific notation
and that scientific notation will get printed so lefty
so C old fixed let's say I want to print twenty five point three six four seven so exactly this number
will get printed
okay.
So this number is getting printed now if you will use scientific head.
So this is the scientific notation.
You can see the difference.
So this number is getting converted into the scientific notation and scientific notation is getting
printed.
We have many other many Pluto's like.
We have said the blue you can give of it.
So we have left alignment if you want to align everything to the left we have right.
So this is left we have right alignment.
So what will happen is that everything will be shifted towards the right.
So I think this is not a function.
This is simple left.
So you have to do C out left and everything will be printed towards the left side.
Similarly see.
Right.
So everything will be printed in the United side so you can see it.
This is like just five contained something.
So actually these things are not at all important.
These things are not at all important.
We are just deciding how our output should look like.
So this is output for toes.
So these are not important for example if you want to use said W2 how you will lose it.
So for example if I'm writing said W. and let's say 10 and let's say I want to print Hello
and let us print tell one more time
so hey I'm just printing Hello
so let's make it 20 and similarly the desperate Taylor once again said the blue let's say two.
Okay let's make it 10
knowledgeable in this file.
So basically it will give us edit.
It doesn't know what they said W. because I don't know in which file said WS defined.
So better to use this thing.
So in order does another file
okay.
So what is the added
expected salmon column.
Okay
so this is the strange output.
Let us try to understand what is the output
so first.
I am printing simple hello.
So this simple hello is getting printed here.
Then I am printing said 20 and hello.
So what will happen.
So you will get 20 spaces and this helo is actually only five.
Correct.
Last five.
Correct.
This will be h e l l Lendl.
And these are you at remaining 15 characters.
So that's why first you will have 15 spaces and then you will have five characters not set 10.
Hello.
So what do what do you have.
You have total 10 spaces and the last five spaces you will have.
Hello.
So this is remaining five empty space so you can see.
So hello.
And this one hello.
And here and then hello starts.
So there are total 10 spaces so these all are actually output formats.
So we are just formatting how our output should look like.
Okay.
So we are formatting our output.
And once again I repeating myself to these all I absolutely do not involve any concept.
So all these things are not concept based.
So these are all learning based.
You have to basically fraudulent everything.
So I think this is enough for output for metals if we want to study mode you can just google everything
and you will be able to find out more.
So I think this is enough for my abilities and output for metals.
I will see in the next redo the way.