Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
[code] // fibonacci2.cpp : Defines the entry point for the console application. #include "stdafx.h" #include<iostream> using namespace std; int fibonacci(int n)//declare function { //declare variables int x1 = 0; int fib ; int x2 = 1; if(n >= 1) { for(int i=2;i<= n; i++) { fib = x1 + x2; … |
|
1.Password authentication Write a C++ program that has asks the user to enter a string-input. If the string matches the password stored in the program, then print a suitable welcome message, otherwise allow the user to re-enter the correct password. The user has at most 3 chances to enter the … |