Answer:
Idk the language of code but here is how it would be done in python
myAlarm():
arm = True
code = "secret message"
myAlarm()
main():
deactivate = input(">>> ")
if deactivate = myAlarm.code:
arm = False
Im still a little confused on the question.
(I am a game designer and I code daily)
Answer:
I will write the code in C++ and JAVA
Explanation:
<h2>
JAVA CODE</h2>
public class Main
{ public static void main(String[] args) {
// displays Gershwin,George
System.out.println("Gershwin,George"); } }
<h2>
C++ Code:</h2>
#include <iostream>
using namespace std;
int main()
{ cout<<"Gershwin,George";
}
// displays last name Gershwin followed by , followed by first name George
//displays Gershwin,George as output.
The below code will help you to solve the given problem and you can execute and cross verify with sample input and output.
#include<stdio.h>
#include<string.h>
int* uniqueValue(int input1,int input2[])
{
int left, current;
static int arr[4] = {0};
int i = 0;
for(i=0;i<input1;i++)
{
current = input2[i];
left = 0;
if(current > 0)
left = arr[(current-1)];
if(left == 0 && arr[current] == 0)
{
arr[current] = input1-current;
}
else
{
for(int j=(i+1);j<input1;j++)
{
if(arr[j] == 0)
{
left = arr[(j-1)];
arr[j] = left - 1;
}
}
}
}
return arr;
}
Answer:
Explanation:
With the advance in technology, smartphones, and tablets are built to meet the ever-increasing needs of users.
Smartphones are mobile phones that also have internet connectivity, they can be used to make calls and perform many tasks just like the conventional desktop. Smartphones and tablets are indeed considered computers because they also process inputs in form of commands and they produce outputs.
Smartphones and tablets are capable of handling rich content and interactivity because:
1. Wireless synchronization with other devices: Just like desktops, laptops, they can interact with other devices, and can receive and also send information doesn't matter the distance.
2. They have Internet connectivity.
3. They have strong hardware, good storage capacity.
4. They have inbuilt software and are capable of accepting other software and programs.
5. They are built with an appealing user interface.
6. Just as computers have processors, smartphones and tablets also have processors to ensure their speed at processing informations.
Answer: Business intelligence
Explanation:
Most of the enterprises and organizations collects huge amount of data through the use of MIS. These data can be based on any aspect of the business. But the collection of such large sets of data is useless until and unless there is a business intelligence associated with it. the work of business intelligence is to use software tools for analysis of the collected data so that it could be useful for enterprise or company to look for patterns and trends in the market.
The outcome of such business intelligence is very helpful particularly to managers, executives for taking particular decisions in the greater interest of the company.
So we can say, business intelligence is an approach to boundary spanning that results from using sophisticated software to search through large amounts of internal and external data to spot patterns, trends, and relationships that might be significant.