A quantum leap into the future

Quantum computing is expected to gain momentum during this decade as economic powers around the world ramp up their investments in quantum technologies.  The fact that economies have begun to invest in this technology has raised hope for it. “In India, the National Mission of Quantum Technology and Application plans to invest $1.12 billion over … Read more

Humans favour robots for mental health support at work

Eighty-two per cent of people believe robots can support their mental health better than humans, according to a study by Oracle and HR research and advisory firm Workplace Intelligence.  The Covid-19 pandemic has made 2020 one of the most stressful years in living memory, negatively affecting the mental health of many people, both at home … Read more

Cloud services see exponential growth

Covid 19 has changed the cyber-security threat landscape of the country. This has accelerated the usage of cloud. Companies are going beyond just legacy IT operations. They are going that extra mile to build overall resilience, besides factoring digital trust into the system  Cloud security is important than anything else now and it has to … Read more

Monetise data to enhance AI adoption

The mainstream acceptance of artificial intelligence (AI) could help unlock societal benefits in India. Seen from the Indian perspective, AI needs to be inclusive in nature. This is essential as India has a population of 1.3 billion and needs to use AI for mass scale services. For instance, tons of data comes out of agriculture … Read more

C program to print map of India [ C Tutorials ]

The string is a run-length encoding of the map of India. Alternating characters in the string stores how many times to draw a space, and how many times to draw an exclamation mark consecutively.

// C program to print map of India
#include <stdio.h>

int main()
{
int a = 10, b = 0, c = 10;

// The encoded string after removing first 31 characters
// Its individual characters determine how many spaces
// or exclamation marks to draw consecutively.
char* str = “TFy!QJu ROo TNn(ROo)SLq SLq ULo+UHs UJq ”
“TNn*RPn/QPbEWS_JSWQAIJO^NBELPeHBFHT}TnALVlBL”
“OFAkHFOuFETpHCStHAUFAgcEAelclcn^r^r\\tZvYxXyT|S~Pn SPm ”
“SOn TNn ULo0ULo#ULo-WHq!WFs XDt!”;

while (a != 0)
{
// read each character of encoded string
a = str[b++];
while (a– > 64)
{
if (++c == 90) // ‘Z’ is 90 in ascii
{
// reset c to 10 when the end of line is reached
c = 10;     // ‘\n’ is 10 in ascii

// print newline
putchar(‘\n’); // or putchar(c);
}
else
{
// draw the appropriate character
// depending on whether b is even or odd
if (b % 2 == 0)
putchar(‘!’);
else
putchar(‘ ‘);
}
}
}

return 0;
}

Business is booming, with even the railways up for privatisation

We look forward to interesting times, led by successes in aerospace and transport. Electric mobility will gain momentum and passenger vehicles will be more sought after than before. As Asia’s third-largest economy, India is preparing for a new growth story.  Global think-tank Stockholm International Peace Research Institute (SIPRI) noted this year that India is now … Read more