Комментарии:
धन्यवाद गुरुजी,,, nice lecture🙏
ОтветитьBeautiful work sir
Ответитьالسلام علیکم
Masahallah sa buth acha parha raha ha
May allah bless you
Bhi cpp ke practice ka lya question kha sa pick kra any site you suggest
Bahi programming ma return a value ki katne zorta hoti ha
Ответитьsir how many value a function can return?
Ответитьgood job
ОтветитьThank you so much
May Allah keep you happy sir g
Love you Sir 💋💋💋
ОтветитьSir calling kaise karte hai c++ m
ОтветитьQ2:- check the number positive or negative by using function
# include<iostream>
using namespace std;
string check_pos_neg(int a1)
{
if(a1>=0)
{
return "Positive";
}
else
{
return "Negative";
}
}
int main()
{
int a;
string result ;
cout<<"Enter the number to check positive or nagative = ";
cin>>a;
check_pos_neg(a);
result = check_pos_neg(a);
cout<<"Entered Number "<<a<<" is = "<<result;
}
Finding factorial by using function
# include<iostream>
using namespace std;
int find_factorial(int a1)
{
int factorial=1;
for(int i=1;i<=a1;i++)
{
factorial=factorial*i;
}
return factorial;
}
int main()
{
int a,fact;
cout<<"Enter the number to find_factorial = ";
cin>>a;
find_factorial(a);
fact= find_factorial(a);
cout<<"Factorial of "<<a<<" is = "<<fact;
}
koi bta skta h k factorial kasy find kry q1 my
plzzz
Function def m kia krty hai phir?
Ответитьthank you sir
ОтветитьYou are awesome sir ..
May Allah bless you 😘
Loops ko use krty huay jo shapes bnaty hen stars ki wo wala topic sikhayen
Ответитьdarun
ОтветитьA1
ОтветитьAp Baqi lecturer upload kren muje boht ache lgta hai apka samjhana plzzzz
Ответитьvoid() function aur return type function mai kia fark hai
ОтветитьThank you sir boht acha smjhya hi ap ny.
ОтветитьSalam sir G, is program ka task per pora nhi sumja ap k bare mehrabni hoge agar ap concept clear kary♥
ОтветитьQ no 2 Ma problem Ha
ОтветитьGreat Work
Ответитьagr use se saved value change krwani ho to return type use kr skty hn
Ответитьshahzaib bhai return type function use ku kia jata hh ye bta do
Ответитьsir, i got confused in 2nd question.
Ответитьsir ap tuitions dete ho i want tuition sir plz
Ответитьbhai plz english na bola karo starting me plz
ОтветитьWhat's app number plz
ОтветитьAoa, sir ye video sai clear nh h,so sai nh smj a rha
Ответить