本文介绍了拼图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果有人回答这些问题,我会很高兴吗?

谢谢。

1.写一个Hello World C中的程序,不使用分号。

2.编写C ++程序,不使用任何循环(if,for,while等)

打印数字来自1到100和100到1;


3.查找给定数字是否为2的幂。

4.将x乘以7而不使用乘法(*)运算符。

5.以不同方式编写函数,返回f(7)= 4和

f(4)= 7

6.删除数组中的重复项

7.查找链表中是否有任何循环。

8.删除无密钥访问数据库中的重复项而不使用

数组

9.二进制转换(整数)数字,不带循环。

10.编写一个程序,其打印输出是一个精确的副本

来源。毋庸置疑,仅仅回显实际的源文件是不允许的。

11.来自数字池的数字(四个'1',四个''2'......四个''6'),

每个玩家选择一个数字并将其加到总数中。一旦使用了

编号,就必须将其从池中删除。获胜者是

的人,其总数等于31。

13.交换两个数字而不使用第三个变量。

解决方案




做自己的作业。


-

Hallvard





True 。


我怎么办?


-

Neil Cerutti



I will be greatful if any one answers these questions?
Thank You.
1. Write a "Hello World" program in ''C'' without using a semicolon.
2. Write a C++ program without using any loop (if, for, while etc) to
print numbers from 1 to 100 and 100 to 1;

3. Find if the given number is a power of 2.
4. Multiply x by 7 without using multiplication (*) operator.
5. Write a function in different ways that will return f(7) = 4 and
f(4) = 7
6. Remove duplicates in array
7. Finding if there is any loop inside linked list.
8. Remove duplicates in an no key access database without using an
array
9. Convert (integer) number in binary without loops.
10. Write a program whose printed output is an exact copy of the
source. Needless to say, merely echoing the actual source file is
not allowed.
11. From a ''pool'' of numbers (four ''1''s, four ''2''s .... four ''6''s),
each player selects a number and adds it to the total. Once a
number is used, it must be removed from the pool. The winner is the
person whose number makes the total equal 31 exactly.
13. Swap two numbers without using a third variable.

解决方案



Do your own homework.

--
Hallvard




True.

How''d I do?

--
Neil Cerutti




You''re welcome.

< snip >

-- Bob Day


这篇关于拼图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 13:01