Search:

Type: Posts; User: iAngkur

Search: Search took 0.08 seconds.

  1. Re: Given an array of numbers from 1 to 100 with exactly k numbers missing, find the missing numbers.

    Here is a sample code in C++ to find the missing numbers in an array:

    #include <bits/stdc++.h>
    using namespace std;

    void missingNumbers(int arr[], int n, int k)
    {
    // Create an array to...
  2. Thread: Scanner and if

    by iAngkur
    Replies
    2
    Views
    2,405

    Re: Scanner and if

    The error is in the line

    if (ayakkabituru == "askerayakkabi") {

    This line uses the == operator to compare two strings. The == operator compares the references to the objects, not the content of...
Results 1 to 2 of 2