Pages
Home
Eaglesoft Download
About us
Monday, January 25, 2021
find lenght of string in cpp c++ with eaglesoft programmers
#include
<iostream>
#include
<string.h>
using
namespace
std
;
int
main
()
{
char
name
[
50
];
cout
<<
"enter your name"
<<
endl
;
gets
(
name
);
int
n
=
strlen
(
name
);
cout
<<
"Lenght of this string is :"
<<
n
<<
endl
;
return
0
;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Take 10 integer inputs from user and store them in an array. Again ask user to give a number. Now, tell user whether that number is present in array or not with Eaglesoft
#include <iostream> using namespace std ; int main () { int _input [ 10 ], c = 0 , n , i = 0 , f = 0 ; // Take...
Website desing by Eaglesoft source code
<! DOCTYPE html > < html lang = "en" > < head > < title > Welcome to Eaglesoft </ title >...
single link list in cpp | oop in c++ single link list operations in cpp data structure | ds
#include <iostream> #include <string.h> #include <string> using namespace std; class node{ public: int rol...
No comments:
Post a Comment